[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1214507945.12265.7.camel@twins.programming.kicks-ass.net>
Date: Thu, 26 Jun 2008 21:19:05 +0200
From: Peter Zijlstra <peterz@...radead.org>
To: Max Krasnyansky <maxk@...lcomm.com>
Cc: Paul Menage <menage@...gle.com>,
Vegard Nossum <vegard.nossum@...il.com>,
Paul Jackson <pj@....com>, a.p.zijlstra@...llo.nl,
linux-kernel@...r.kernel.org, Gautham R Shenoy <ego@...ibm.com>
Subject: Re: [RFC][PATCH] CPUSets: Move most calls to
rebuild_sched_domains() to the workqueue
On Thu, 2008-06-26 at 11:49 -0700, Max Krasnyansky wrote:
> > Does that mean that you can't ever call get_online_cpus() from a
> > workqueue thread?
>
> In general it should be ok (no different from user-space task calling
> it). But there is still circular dependency because we're calling into
> domain partitioning code.
> Below is more detailed lockdep report with your patch applied on top of
> -rc8.
> Looks like this might be a good time to rethink overall locking in there.
Gautham has been working on some of this recently. Perhaps he can share
his patch-stack again.
--
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