Re: [PATCH 3/9] KVM: VMX: make PLE window per-vcpu

2014-08-20 Thread Paolo Bonzini
Il 19/08/2014 22:35, Radim Krčmář ha scritto: Change PLE window into per-vcpu variable, seeded from module parameter, to allow greater flexibility. Brings in a small overhead on every vmentry. Signed-off-by: Radim Krčmář rkrc...@redhat.com --- I've been thinking about a general

Re: [PATCH 3/9] KVM: VMX: make PLE window per-vcpu

2014-08-20 Thread Radim Krčmář
2014-08-20 09:13+0200, Paolo Bonzini: Il 19/08/2014 22:35, Radim Krčmář ha scritto: enum segment_cache_field { @@ -4403,6 +4406,7 @@ static int vmx_vcpu_setup(struct vcpu_vmx *vmx) if (ple_gap) { vmcs_write32(PLE_GAP, ple_gap); vmcs_write32(PLE_WINDOW,

[PATCH 3/9] KVM: VMX: make PLE window per-vcpu

2014-08-19 Thread Radim Krčmář
Change PLE window into per-vcpu variable, seeded from module parameter, to allow greater flexibility. Brings in a small overhead on every vmentry. Signed-off-by: Radim Krčmář rkrc...@redhat.com --- I've been thinking about a general hierarchical per-vcpu variable model, but it's hard to have