On Wed, 3 Feb 2016, Rik van Riel wrote:
> On 02/03/2016 01:52 PM, Thomas Gleixner wrote:
> > From: Thomas Gleixner <[email protected]> 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

Reply via email to