Re: [PATCH 1/3] cpuset: clean up cpuset hierarchy traversal code

From: Li Zefan
Date: Mon Jul 28 2008 - 21:46:00 EST


Paul Jackson wrote:
> pj wrote:
>> Can you figure out if we are holding any system wide lock, such as
>> cgroup_mutex, at this point?
>
> Nevermind ... this is in rebuild_sched_domains(), which must be
> called with cgroup_mutex held. So we danged well better be holding
> a system wide lock.
>

Yes, and even after Max's patch, the code playing with ->stack_list is
still protected by cgroup_mutex. :)

--
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/