| | Date | Thu, 11 Dec 2008 09:07:18 -0800 | | Subject | Re: [RFC][PATCH 1/3] CGroups: Add a per-subsystem hierarchy_mutex | | From | Paul Menage <> |
| |
On Wed, Dec 10, 2008 at 7:05 PM, Li Zefan <lizf@cn.fujitsu.com> wrote: > > But this function is used in cgroup.c internally, and always called > with cgroup_lock held, so it's OK to use for_each_subsys().
This is true, but it doesn't hurt to be future-proof and not require cgroup_mutex to be held.
Paul
|