lkml.org 
[lkml]   [2008]   [Feb]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC/PATCH] cpuset: cpuset irq affinities

* Peter Zijlstra <a.p.zijlstra@chello.nl> wrote:

> @@ -174,11 +174,20 @@ struct irq_desc {
> #ifdef CONFIG_PROC_FS
> struct proc_dir_entry *dir;
> #endif
> +#ifdef CONFIG_CPUSETS
> + struct cpuset *cs;
> +#endif

i like this approach - it makes irqs more resource-alike and attaches
them to a specific resource control group.

So if /cgroup/boot is changed to have less CPUs then the "default" irqs
move along with it.

but if an isolated RT domain has specific irqs attached to it (say the
IRQ of some high-speed data capture device), then the irqs would move
together with that domain.

irqs are no longer a bolted-upon concept, but more explicitly managed.

[ If you boot-test it and if Paul agrees with the general approach then
i could even apply it to sched-devel.git ;-) ]

Ingo


\
 
 \ /
  Last update: 2008-02-29 21:01    [from the cache]
©2003-2011 Jasper Spaans. Advertise on this site