Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1423783

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

From Paolo Bonzini <pbonzini@redhat.com>
Newsgroups linux.kernel
Subject [RFC PATCH 0/2] KVM: x86: guest exit microoptimization
Date 2016-06-16 10:30 +0200
Message-ID <rKAQx-5Ue-7@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[RFC PATCH 0/2] KVM: x86: guest exit microoptimization Paolo Bonzini <pbonzini@redhat.com> - 2016-06-16 10:30 +0200
  [RFC PATCH 2/2] KVM: x86: use __kvm_guest_exit Paolo Bonzini <pbonzini@redhat.com> - 2016-06-16 10:30 +0200
    Re: [RFC PATCH 2/2] KVM: x86: use __kvm_guest_exit David Matlack <dmatlack@google.com> - 2016-06-16 18:50 +0200
      Re: [RFC PATCH 2/2] KVM: x86: use __kvm_guest_exit Paolo Bonzini <pbonzini@redhat.com> - 2016-06-16 18:50 +0200
        Re: [RFC PATCH 2/2] KVM: x86: use __kvm_guest_exit David Matlack <dmatlack@google.com> - 2016-06-16 19:10 +0200
          Re: [RFC PATCH 2/2] KVM: x86: use __kvm_guest_exit Paolo Bonzini <pbonzini@redhat.com> - 2016-06-16 19:30 +0200
    Re: [RFC PATCH 2/2] KVM: x86: use __kvm_guest_exit Bandan Das <bsd@redhat.com> - 2016-06-17 00:10 +0200
      Re: [RFC PATCH 2/2] KVM: x86: use __kvm_guest_exit Paolo Bonzini <pbonzini@redhat.com> - 2016-06-17 07:30 +0200

csiph-web