kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/8] use jump labels to streamline common APIC configuration
@ 2012-08-05 12:58 Gleb Natapov
  2012-08-05 12:58 ` [PATCH 1/8] KVM: clean up kvm_(set|get)_apic_base Gleb Natapov
                   ` (10 more replies)
  0 siblings, 11 replies; 45+ messages in thread
From: Gleb Natapov @ 2012-08-05 12:58 UTC (permalink / raw)
  To: kvm; +Cc: avi, mtosatti

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


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

end of thread, other threads:[~2012-08-14 17:16 UTC | newest]

Thread overview: 45+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-05 12:58 [PATCH 0/8] use jump labels to streamline common APIC configuration Gleb Natapov
2012-08-05 12:58 ` [PATCH 1/8] KVM: clean up kvm_(set|get)_apic_base Gleb Natapov
2012-08-05 12:58 ` [PATCH 2/8] KVM: use kvm_lapic_set_base() to change apic_base Gleb Natapov
2012-08-05 12:58 ` [PATCH 3/8] KVM: mark apic enabled on start up Gleb Natapov
2012-08-05 14:14   ` Avi Kivity
2012-08-05 14:17     ` Gleb Natapov
2012-08-05 14:39       ` Avi Kivity
2012-08-05 14:43         ` Gleb Natapov
2012-08-05 12:58 ` [PATCH 4/8] Export jump_label_rate_limit() Gleb Natapov
2012-08-05 14:16   ` Avi Kivity
2012-08-06 12:37     ` Jason Baron
2012-08-05 12:58 ` [PATCH 5/8] KVM: use jump label to optimize checking for HW enabled APIC in APIC_BASE MSR Gleb Natapov
2012-08-05 14:35   ` Avi Kivity
2012-08-05 14:42     ` Gleb Natapov
2012-08-05 14:48       ` Avi Kivity
2012-08-05 14:55         ` Gleb Natapov
2012-08-05 12:58 ` [PATCH 6/8] KVM: use jump label to optimize checking for SW enabled apic in spurious interrupt register Gleb Natapov
2012-08-05 12:58 ` [PATCH 7/8] KVM: use jump label to optimize checking for in kernel local apic presence Gleb Natapov
2012-08-05 12:58 ` [PATCH 8/8] KVM: inline kvm_apic_present() and kvm_lapic_enabled() Gleb Natapov
2012-08-05 13:33 ` [PATCH 0/8] use jump labels to streamline common APIC configuration Avi Kivity
2012-08-05 13:35   ` Gleb Natapov
2012-08-05 13:42     ` Avi Kivity
2012-08-05 13:48       ` Gleb Natapov
2012-08-05 14:00         ` Avi Kivity
2012-08-05 14:03           ` Gleb Natapov
2012-08-14 14:00             ` Jan Kiszka
2012-08-14 14:03               ` Gleb Natapov
2012-08-14 14:20                 ` Jan Kiszka
2012-08-14 14:37                   ` Gleb Natapov
2012-08-14 14:58                     ` Jan Kiszka
2012-08-14 16:21                       ` Avi Kivity
2012-08-14 16:38                         ` Jan Kiszka
2012-08-14 17:00                           ` Avi Kivity
2012-08-14 17:16                             ` Jan Kiszka
2012-08-14 14:04               ` Avi Kivity
2012-08-14 14:05                 ` Jan Kiszka
2012-08-14 14:08                   ` Gleb Natapov
2012-08-14 14:07                 ` Gleb Natapov
2012-08-14 14:13                   ` Jan Kiszka
2012-08-14 14:44                     ` Gleb Natapov
2012-08-14 15:09                       ` Jan Kiszka
2012-08-05 19:30 ` Eric Northup
2012-08-06  8:35   ` Avi Kivity
2012-08-06  8:52   ` Gleb Natapov
2012-08-06 13:23 ` Avi Kivity

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).