[PATCH 0/8] use jump labels to streamline common APIC configuration

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

 



APIC code has a lot of checks for apic presence and apic HW/SW enable
state.  Most common configuration is when each vcpu has in kernel apic
and it is fully enabled. This path series uses jump labels to turn checks
to nops in the common case. 

Gleb Natapov (8):
  KVM: clean up kvm_(set|get)_apic_base
  KVM: use kvm_lapic_set_base() to change apic_base
  KVM: mark apic enabled on start up.
  Export jump_label_rate_limit()
  KVM: use jump label to optimize checking for HW enabled APIC in
    APIC_BASE MSR.
  KVM: use jump label to optimize checking for SW enabled apic in
    spurious interrupt register
  KVM: use jump label to optimize checking for in kernel local apic
    presence.
  KVM: inline kvm_apic_present() and kvm_lapic_enabled()

 arch/x86/kvm/lapic.c |  211 +++++++++++++++++++++++++++-----------------------
 arch/x86/kvm/lapic.h |   46 ++++++++++-
 arch/x86/kvm/x86.c   |   18 ++---
 arch/x86/kvm/x86.h   |    1 +
 kernel/jump_label.c  |    1 +
 5 files changed, 170 insertions(+), 107 deletions(-)

-- 
1.7.10

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