]> git.baikalelectronics.ru Git - kernel.git/commit
cgroup: separate out cgroup_calc_child_subsys_mask() from cgroup_refresh_child_subsys...
authorTejun Heo <tj@kernel.org>
Tue, 18 Nov 2014 07:49:50 +0000 (02:49 -0500)
committerTejun Heo <tj@kernel.org>
Tue, 18 Nov 2014 07:49:50 +0000 (02:49 -0500)
commita9deacde7c1fe58fc8025fafc220e4d9d36ae87d
tree6e026e7b68546545bda4ca1d2cf89525e6b1c14a
parentee9ae054be4c83ccdc969885843ec01b1bb01a6a
cgroup: separate out cgroup_calc_child_subsys_mask() from cgroup_refresh_child_subsys_mask()

cgroup_refresh_child_subsys_mask() calculates and updates the
effective @cgrp->child_subsys_maks according to the current
@cgrp->subtree_control.  Separate out the calculation part into
cgroup_calc_child_subsys_mask().  This will be used to fix a bug in
the async css offline wait logic.

Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Zefan Li <lizefan@huawei.com>
kernel/cgroup.c