Re: [RFC][PATCH] CPUSets: Move most calls to rebuild_sched_domains() to the workqueue
- Date: Thu, 26 Jun 2008 21:19:05 +0200
- From: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
- 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/