public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] -tip cleanups/fixes for x2apic cluster mode routing
@ 2012-06-21 22:02 Suresh Siddha
  2012-06-21 22:02 ` [PATCH v2 1/3] x86, apic: optimize cpu traversal in __assign_irq_vector() using domain membership Suresh Siddha
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Suresh Siddha @ 2012-06-21 22:02 UTC (permalink / raw)
  To: Alexander Gordeev, Ingo Molnar
  Cc: Suresh Siddha, yinghai, linux-kernel, x86, gorcunov

Following patches will reserve the vector only on the cpu's where
the interrupt will be routed to based on the specified affinity mask
(not on the complete x2apic cluster which is the current behavior).
And by default during boot, device bringup etc, only one cpu
is used for interrupt destination. All this will reduce the vector
pressure (specifically for the case of single/two socket systems where
there will be atmost one or two x2apic clusters per-socket) when
there are more interrupt sources than the number of x2apic clusters.

Changes from the previous version:

* cleaned up the apic driver's vector_allocation_domain() API.
* Minimize the vector usage during boot/device bringup.

Suresh Siddha (3):
  x86, apic: optimize cpu traversal in __assign_irq_vector() using
    domain membership
  x86, x2apic: limit the vector reservation to the user specified mask
  x86, x2apic: use multiple cluster members for the irq destination
    only with the explicit affinity

 arch/x86/include/asm/apic.h           |   15 ++++++-----
 arch/x86/kernel/apic/apic_noop.c      |    4 +-
 arch/x86/kernel/apic/io_apic.c        |   44 ++++++++++++++++----------------
 arch/x86/kernel/apic/x2apic_cluster.c |   26 +++++++++++++++---
 4 files changed, 53 insertions(+), 36 deletions(-)

-- 
1.7.6.5


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

end of thread, other threads:[~2012-06-25  9:54 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-21 22:02 [PATCH v2 0/3] -tip cleanups/fixes for x2apic cluster mode routing Suresh Siddha
2012-06-21 22:02 ` [PATCH v2 1/3] x86, apic: optimize cpu traversal in __assign_irq_vector() using domain membership Suresh Siddha
2012-06-21 22:02 ` [PATCH v2 2/3] x86, x2apic: limit the vector reservation to the user specified mask Suresh Siddha
2012-06-23 22:04   ` Yinghai Lu
2012-06-25  9:54     ` Ingo Molnar
2012-06-21 22:02 ` [PATCH v2 3/3] x86, x2apic: use multiple cluster members for the irq destination only with the explicit affinity Suresh Siddha
2012-06-21 22:35   ` Yinghai Lu
2012-06-22  9:00   ` Alexander Gordeev
2012-06-21 22:39 ` [PATCH v2 0/3] -tip cleanups/fixes for x2apic cluster mode routing Cyrill Gorcunov

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