Messages in this thread | | | Date | Tue, 29 Jul 2008 09:44:09 +0800 | From | Li Zefan <> | 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. :)
| |