[PATCH 0/9] Some vmx vmexit optimizations

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The following patchset drops almost 200 cycles from a VMCALL vmexit on a
(fairly old) Intel, by reducing some needless VMREADs.  Should also speed
up instruction emulation by a small amount.

It's a little tricky, so copying lots of people.

Avi Kivity (9):
  KVM: Use kvm_get_rflags() and kvm_set_rflags() instead of the raw
    versions
  KVM: VMX: Optimize vmx_get_rflags()
  KVM: VMX: Optimize vmx_get_cpl()
  KVM: VMX: Cache cpl
  KVM: VMX: Avoid vmx_recover_nmi_blocking() when unneeded
  KVM: VMX: Qualify check for host NMI
  KVM: VMX: Refactor vmx_complete_atomic_exit()
  KVM: VMX: Don't VMREAD VM_EXIT_INTR_INFO unconditionally
  KVM: VMX: Use cached VM_EXIT_INTR_INFO in handle_exception

 arch/x86/include/asm/kvm_host.h |    2 +
 arch/x86/kvm/svm.c              |   14 +++---
 arch/x86/kvm/vmx.c              |   79 +++++++++++++++++++++++++++++++--------
 arch/x86/kvm/x86.c              |    8 ++--
 4 files changed, 76 insertions(+), 27 deletions(-)

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


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux