public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/9] Some vmx vmexit optimizations
@ 2011-03-08 13:57 Avi Kivity
  2011-03-08 13:57 ` [PATCH 1/9] KVM: Use kvm_get_rflags() and kvm_set_rflags() instead of the raw versions Avi Kivity
                   ` (8 more replies)
  0 siblings, 9 replies; 15+ messages in thread
From: Avi Kivity @ 2011-03-08 13:57 UTC (permalink / raw)
  To: Marcelo Tosatti, kvm, Gleb Natapov, Jan Kiszka

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(-)


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2011-03-21  8:55 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-08 13:57 [PATCH 0/9] Some vmx vmexit optimizations Avi Kivity
2011-03-08 13:57 ` [PATCH 1/9] KVM: Use kvm_get_rflags() and kvm_set_rflags() instead of the raw versions Avi Kivity
2011-03-08 13:57 ` [PATCH 2/9] KVM: VMX: Optimize vmx_get_rflags() Avi Kivity
2011-03-08 13:57 ` [PATCH 3/9] KVM: VMX: Optimize vmx_get_cpl() Avi Kivity
2011-03-08 13:57 ` [PATCH 4/9] KVM: VMX: Cache cpl Avi Kivity
2011-03-08 14:20   ` Gleb Natapov
2011-03-08 14:29     ` Avi Kivity
2011-03-08 14:38       ` Gleb Natapov
2011-03-08 13:57 ` [PATCH 5/9] KVM: VMX: Avoid vmx_recover_nmi_blocking() when unneeded Avi Kivity
2011-03-08 13:57 ` [PATCH 6/9] KVM: VMX: Qualify check for host NMI Avi Kivity
2011-03-08 13:57 ` [PATCH 7/9] KVM: VMX: Refactor vmx_complete_atomic_exit() Avi Kivity
2011-03-15 21:40   ` Marcelo Tosatti
2011-03-21  8:55     ` Avi Kivity
2011-03-08 13:57 ` [PATCH 8/9] KVM: VMX: Don't VMREAD VM_EXIT_INTR_INFO unconditionally Avi Kivity
2011-03-08 13:57 ` [PATCH 9/9] KVM: VMX: Use cached VM_EXIT_INTR_INFO in handle_exception Avi Kivity

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox