Re: [RFC][PATCH 1/3] CGroups: Add a per-subsystem hierarchy_mutex

From: Paul Menage
Date: Thu Dec 11 2008 - 12:07:34 EST


On Wed, Dec 10, 2008 at 7:05 PM, Li Zefan <lizf@xxxxxxxxxxxxxx> 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
--
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/