lkml.org 
[lkml]   [2008]   [May]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: IRQ affinities (was: boot cgroup questions)
From
Date
On Fri, 2008-05-09 at 07:03 -0500, Paul Jackson wrote:
> Peter wrote:
> > I see two use-cases:
> >
> > - Isolation
> > - NUMA node devices
>
> Ok ... so let me propose an entirely different solution.
>
> No doubt it has some terrible flaw, but I'll just have to
> await your replies to see what that is.
>
> How about we have:
>
> 1) Yet another text config file in /etc, this one containing
> lines having two fields:
> * a list of IRQs, and
> * a cpumask.
> This file would specify which CPUs should handle which IRQs.
>
> 2) A utility that can be run, after changing the above file,
> to poke the proper cpumask to each IRQ, as specified in
> the file.
>
> (Obligatory "simple" marketing claim: the above requires no
> kernel changes.)
>
> What am I missing?

Two points:

- we can't currently set irq affinities for non-existent (aka new) IRQs
- its a shame to duplicate the masks - most of this information would
also be used in the cpuset structure used to place the tasks.






\
 
 \ /
  Last update: 2008-05-09 14:17    [W:0.070 / U:0.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site