From: Kai Huang Date: Wed, 2 Dec 2015 14:20:19 +0000 (+0100) Subject: x86/vmx: enable PML by default X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~2145 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=484c14b7254e8d8936c05e3c28e332ea825c0155;p=xen.git x86/vmx: enable PML by default Since PML series were merged (but disabled by default) we have conducted lots of PML tests (live migration, GUI display) and PML has been working fine, therefore turn it on by default. Document of PML command line is adjusted accordingly as well. Signed-off-by: Kai Huang Tested-by: Robert Hu Tested-by: Xudong Hao Reviewed-by: Andrew Cooper Tested-by: Andrew Cooper Acked-by: Kevin Tian --- diff --git a/docs/misc/xen-command-line.markdown b/docs/misc/xen-command-line.markdown index c103894e48..47d148a2b7 100644 --- a/docs/misc/xen-command-line.markdown +++ b/docs/misc/xen-command-line.markdown @@ -715,7 +715,7 @@ Controls EPT related features. > `pml` -> Default: `false` +> Default: `true` >> PML is a new hardware feature in Intel's Broadwell Server and further >> platforms which reduces hypervisor overhead of log-dirty mechanism by diff --git a/xen/arch/x86/hvm/vmx/vmcs.c b/xen/arch/x86/hvm/vmx/vmcs.c index 7a7896e716..dbf284d9e2 100644 --- a/xen/arch/x86/hvm/vmx/vmcs.c +++ b/xen/arch/x86/hvm/vmx/vmcs.c @@ -64,7 +64,7 @@ integer_param("ple_gap", ple_gap); static unsigned int __read_mostly ple_window = 4096; integer_param("ple_window", ple_window); -static bool_t __read_mostly opt_pml_enabled = 0; +static bool_t __read_mostly opt_pml_enabled = 1; static s8 __read_mostly opt_ept_ad = -1; /*