[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <488E75E9.9080202@cn.fujitsu.com>
Date: Tue, 29 Jul 2008 09:44:09 +0800
From: Li Zefan <lizf@...fujitsu.com>
To: Paul Jackson <pj@....com>
CC: akpm@...ux-foundation.org, menage@...gle.com,
seto.hidetoshi@...fujitsu.com, laijs@...fujitsu.com,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/3] cpuset: clean up cpuset hierarchy traversal code
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@...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