Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1325883

Re: [PATCH] genirq: Add default affinity mask command line option

From Thomas Gleixner <tglx@linutronix.de>
Newsgroups linux.kernel
Subject Re: [PATCH] genirq: Add default affinity mask command line option
Date 2016-02-03 20:20 +0100
Message-ID <qYb86-63C-19@gated-at.bofh.it> (permalink)
References <qYaOK-5HS-13@gated-at.bofh.it> <qYb85-63C-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, 3 Feb 2016, Rik van Riel wrote:
> On 02/03/2016 01:52 PM, Thomas Gleixner wrote:
> > From: Thomas Gleixner <tglx@linutronix.de> Date: Fri May 25
> > 16:59:47 2012 +0200 Subject: genirq: Add default affinity mask
> > command line option
> > 
> > If we isolate CPUs, then we don't want random device interrupts on
> > them. Even w/o the user space irq balancer enabled we can end up
> > with irqs on non boot cpus and chasing newly requested interrupts
> > is a tedious task.
> 
> The userspace irqbalance daemon has code nowadays to prevent
> it from putting irqs on isolated CPUs.

I know, but a lot of systems do not enable it at all.

> > Allow to restrict the default irq affinity mask.
> 
> However, not placing them on there at boot time is a great
> enhancement, too.

That's the main plan :)
 
> Would it make sense to key off the isolated_cpus mask
> if isolated_cpus= was specified, but no irqaffinity
> mask was specified?

That might be an add on.
 
> Is there any use case where we would want irqs on
> isolated cpus by default, and could not bear the
> cost of reassigning them from userspace after boot?

I don't think so. Those interrupts you want on an isolated cpu are obviously
hand selected.

Thanks,

	tglx

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] genirq: Add default affinity mask command line option Thomas Gleixner <tglx@linutronix.de> - 2016-02-03 20:00 +0100
  Re: [PATCH] genirq: Add default affinity mask command line option Rik van Riel <riel@redhat.com> - 2016-02-03 20:20 +0100
    Re: [PATCH] genirq: Add default affinity mask command line option Thomas Gleixner <tglx@linutronix.de> - 2016-02-03 20:20 +0100
  [tip:irq/core] genirq:   Add default affinity mask command line option tip-bot for Thomas Gleixner <tipbot@zytor.com> - 2016-02-08 12:00 +0100
  [tip:irq/core] genirq:   Add default affinity mask command line option tip-bot for Thomas Gleixner <tipbot@zytor.com> - 2016-02-08 15:10 +0100

csiph-web