[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080229190223.GA17820@elte.hu>
Date: Fri, 29 Feb 2008 20:02:23 +0100
From: Ingo Molnar <mingo@...e.hu>
To: Peter Zijlstra <a.p.zijlstra@...llo.nl>
Cc: Thomas Gleixner <tglx@...utronix.de>,
Oleg Nesterov <oleg@...sign.ru>,
Steven Rostedt <rostedt@...dmis.org>,
Paul Jackson <pj@....com>,
Max Krasnyanskiy <maxk@...lcomm.com>,
linux-kernel@...r.kernel.org, David Rientjes <rientjes@...gle.com>
Subject: Re: [RFC/PATCH] cpuset: cpuset irq affinities
* Peter Zijlstra <a.p.zijlstra@...llo.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists