mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: akepner@sgi.com
Cc: linux-kernel@vger.kernel.org
Subject: Re: [RFC/PATCH] notify user-level IRQ balancer when kernel assigns IRQ affinity
Date: Fri, 03 Sep 2010 14:48:33 -0700 (PDT)	[thread overview]
Message-ID: <20100903.144833.108785087.davem@davemloft.net> (raw)
In-Reply-To: <20100903210554.GO2464@sgi.com>

From: Arthur Kepner <akepner@sgi.com>
Date: Fri, 3 Sep 2010 14:05:54 -0700

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

As I replied to you on netdev, this can't possibly work.

Interrupt allocation needs to work properly before userspace
even starts up.  So the allocation management must be inside
of the kernel entirely.


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

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-03 21:05 Arthur Kepner
2010-09-03 21:10 ` David Daney
2010-09-03 21:25   ` Arthur Kepner
2010-09-03 21:48 ` David Miller [this message]
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=20100903.144833.108785087.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=akepner@sgi.com \
    --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

Powered by JetHome