Re: [PATCH] cpuset: Make rebuild_sched_domains() usable from any context

From: Paul Menage
Date: Tue Jul 15 2008 - 12:14:41 EST


On Tue, Jul 15, 2008 at 4:44 AM, Max Krasnyansky <maxk@xxxxxxxxxxxx> wrote:
> From: Max Krasnyanskiy <maxk@xxxxxxxxxxxx>
>
> I do not really like the current solution of dropping cgroup lock
> but it shows what I have in mind in general.

I think that dropping the cgroup lock will open up races for cpusets.
The idea of a separate workqueue/thread to do the sched domain
rebuilding is simplest.

Paul
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/