diff mbox series

[2/2] x86/pvshim: use 2M alignment

Message ID 20190318145719.11396-3-wei.liu2@citrix.com (mailing list archive)
State New, archived
Headers show
Series x86: more flexible alignment handling for xen binary | expand

Commit Message

Wei Liu March 18, 2019, 2:57 p.m. UTC
The pvshim is loaded directly by toolstack. Use 2M alignment for
potential better performance.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
---
 xen/arch/x86/configs/pvshim_defconfig | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/xen/arch/x86/configs/pvshim_defconfig b/xen/arch/x86/configs/pvshim_defconfig
index a12e3d0465..8e50b60cda 100644
--- a/xen/arch/x86/configs/pvshim_defconfig
+++ b/xen/arch/x86/configs/pvshim_defconfig
@@ -5,6 +5,7 @@  CONFIG_PVH_GUEST=y
 CONFIG_PV_SHIM=y
 CONFIG_PV_SHIM_EXCLUSIVE=y
 CONFIG_NR_CPUS=32
+CONFIG_XEN_ALIGN_2M=y
 # Disable features not used by the PV shim
 # CONFIG_SHADOW_PAGING is not set
 # CONFIG_BIGMEM is not set