public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: David Daney <ddaney@caviumnetworks.com>
To: Arthur Kepner <akepner@sgi.com>
Cc: linux-kernel@vger.kernel.org, David Miller <davem@davemloft.net>
Subject: Re: [RFC/PATCH] notify user-level IRQ balancer when kernel assigns IRQ	affinity
Date: Fri, 03 Sep 2010 14:10:23 -0700	[thread overview]
Message-ID: <4C81643F.5070801@caviumnetworks.com> (raw)
In-Reply-To: <20100903210554.GO2464@sgi.com>

On 09/03/2010 02:05 PM, Arthur Kepner wrote:
>
> We've run into situations where a CPU runs out of interrupt
> vectors, because all the interrupts are getting the default
> affinity (and the interrupt balancer hasn't yet run).
>
> The following emits a netlink message whenever an interrupt
> is given a default CPU affinity. A user-level IRQ balancer
> can use those messages to decide if, and how to reassign
> affinities. This should allow us to avoid running out of
> vectors on any particular CPU (or at least make it far less
> likely).
>
> I know this needs work, but would like to get comments on
> the idea before doing more coding and testing.
>
>
> Signed-off-by: Arthur Kepner<akepner@sgi.com>
>
> ---
>
> diff --git a/arch/Kconfig b/arch/Kconfig
> index 4877a8c..65c79c7 100644
> --- a/arch/Kconfig
> +++ b/arch/Kconfig
> @@ -158,4 +158,15 @@ config HAVE_PERF_EVENTS_NMI
>   	  subsystem.  Also has support for calculating CPU cycle events
>   	  to determine how many clock cycles in a given period.
>
> +config NOTIFY_USER_IRQ_BALANCER
> +	bool "Notify user-level IRQ balancer (EXPERIMENTAL)"
> +	default n
> +	depends on NET&&  X86

Missing a space before that '&&', but more importantly, what part of the 
patch is x86 specific?


David Daney



  reply	other threads:[~2010-09-03 21:10 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-03 21:05 [RFC/PATCH] notify user-level IRQ balancer when kernel assigns IRQ affinity Arthur Kepner
2010-09-03 21:10 ` David Daney [this message]
2010-09-03 21:25   ` Arthur Kepner
2010-09-03 21:48 ` David Miller
2010-09-09  8:54 ` Thomas Gleixner
2010-09-09 15:55   ` Arthur Kepner
2010-09-09 16:16     ` [PATCH] MAINTAINERS: Add IRQ SUBSYSTEM Joe Perches

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=4C81643F.5070801@caviumnetworks.com \
    --to=ddaney@caviumnetworks.com \
    --cc=akepner@sgi.com \
    --cc=davem@davemloft.net \
    --cc=linux-kernel@vger.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