mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Suresh Siddha <suresh.b.siddha@intel.com>
To: Ingo Molnar <mingo@kernel.org>
Cc: Suresh Siddha <suresh.b.siddha@intel.com>,
	agordeev@redhat.com, yinghai@kernel.org,
	linux-kernel@vger.kernel.org, x86@kernel.org,
	gorcunov@openvz.org
Subject: [PATCH v3 0/3] -tip cleanups/fixes for x2apic cluster mode routing
Date: Mon, 25 Jun 2012 13:38:26 -0700	[thread overview]
Message-ID: <1340656709-11423-1-git-send-email-suresh.b.siddha@intel.com> (raw)

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 in v3:
* Fixed missing vsmp changes.

Changes in v2:

* 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 +++++++++++++++---
 arch/x86/kernel/vsmp_64.c             |    4 +-
 5 files changed, 55 insertions(+), 38 deletions(-)

-- 
1.7.6.5


             reply	other threads:[~2012-06-25 20:38 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-25 20:38 Suresh Siddha [this message]
2012-06-25 20:38 ` [PATCH v3 1/3] x86, apic: optimize cpu traversal in __assign_irq_vector() using domain membership Suresh Siddha
2012-07-06 11:28   ` [tip:x86/platform] x86/apic: Optimize " tip-bot for Suresh Siddha
2012-06-25 20:38 ` [PATCH v3 2/3] x86, x2apic: limit the vector reservation to the user specified mask Suresh Siddha
2012-07-06 11:29   ` [tip:x86/platform] x86/apic/x2apic: Limit " tip-bot for Suresh Siddha
2012-06-25 20:38 ` [PATCH v3 3/3] x86, x2apic: use multiple cluster members for the irq destination only with the explicit affinity Suresh Siddha
2012-07-06 11:29   ` [tip:x86/platform] x86/apic/x2apic: Use " tip-bot for Suresh Siddha
  -- strict thread matches above, loose matches on Subject: below --
2012-06-25 20:35 [PATCH v3 0/3] -tip cleanups/fixes for x2apic cluster mode routing Suresh Siddha

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1340656709-11423-1-git-send-email-suresh.b.siddha@intel.com \
    --to=suresh.b.siddha@intel.com \
    --cc=agordeev@redhat.com \
    --cc=gorcunov@openvz.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@kernel.org \
    --cc=x86@kernel.org \
    --cc=yinghai@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®