Re: [PATCH 0/4] cr4 optimizations for vmx/ept

2009-12-15 Thread Avi Kivity

On 12/07/2009 12:47 PM, Avi Kivity wrote:

When ept is enabled, we aren't particularly interested in cr4.pge, so allow
the guest to own it.  This improves performance in vmap() intensive loads.
   


This is now applied, after modifying according to review comments.

--
error compiling committee.c: too many arguments to function

--
To unsubscribe from this list: send the line unsubscribe kvm in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[PATCH 0/4] cr4 optimizations for vmx/ept

2009-12-07 Thread Avi Kivity
When ept is enabled, we aren't particularly interested in cr4.pge, so allow
the guest to own it.  This improves performance in vmap() intensive loads.

Avi Kivity (4):
  KVM: VMX: Move some cr[04] related constants to vmx.c
  KVM: Add accessor for reading cr4 (or some bits of cr4)
  KVM: VMX: Make guest cr4 mask more conservative
  KVM: VMX: When using ept, allow the guest to own cr4.pge

 arch/x86/include/asm/kvm_host.h |   14 +-
 arch/x86/kvm/kvm_cache_regs.h   |   12 
 arch/x86/kvm/mmu.h  |5 +++--
 arch/x86/kvm/vmx.c  |   32 ++--
 arch/x86/kvm/x86.c  |   16 ++--
 5 files changed, 48 insertions(+), 31 deletions(-)

--
To unsubscribe from this list: send the line unsubscribe kvm in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html