[PATCH 5.5/9] cgroup: use for_each_subsys() instead of for_each_root_subsys() in cgroup_populate/clear_dir()

Li Zefan lizefan at huawei.com
Fri Jul 12 06:13:01 UTC 2013


On 2013/7/12 1:19, Tejun Heo wrote:
> rebind_subsystems() will be updated to handle file creations and
> removals with proper error handling and to do that will need to
> perform file operations before actually adding the subsystem to the
> hierarchy.
> 
> To enable such usage, update cgroup_populate/clear_dir() to use
> for_each_subsys() instead of for_each_root_subsys() so that they
> operate on all subsystems specified by @subsys_mask whether that
> subsystem is currently bound to the hierarchy or not.
> 
> Signed-off-by: Tejun Heo <tj at kernel.org>

Acked-by: Li Zefan <lizefan at huawei.com>



More information about the Containers mailing list