[RFC PATCH 0/2] KVM: x86: guest exit microoptimization

From: Paolo Bonzini
Date: Thu Jun 16 2016 - 04:21:50 EST


This saves about 20 clock cycles per vmexit by avoiding a
local_irq_save/restore pair. The price is that nested VMX will break
with KVM hosts < 3.16, because the "acknowledge interrupt on exit"
feature becomes mandatory. What do you think?

Paolo

Paolo Bonzini (2):
KVM: x86: always use "acknowledge interrupt on exit"
KVM: x86: use __kvm_guest_exit

arch/x86/kvm/svm.c | 6 ++++++
arch/x86/kvm/vmx.c | 11 ++++-------
arch/x86/kvm/x86.c | 11 ++---------
3 files changed, 12 insertions(+), 16 deletions(-)

--
1.8.3.1