[PATCH 0/2] Optimize atomic efer loading

Avi Kivity
2010-12-21T10:54:33Z

In some cases we resort to loading EFER via the atomic msr load on entry/exit
facility. This is incredibly slow. Use the faster entry/exit LOAD_IA32_EFER
controls instead, when available.

Avi Kivity (2):
KVM: VMX: Add definitions for more vm entry/exit control bits
KVM: VMX: Optimize atomic EFER load

arch/x86/include/asm/vmx.h | 8 ++++++++
arch/x86/kvm/vmx.c | 30 ++++++++++++++++++++++++++++++
2 files changed, 38 insertions(+), 0 deletions(-)