commit | 0f060deb5c5107486c5dadd5c715b3693d381e0a | [log] [tgz] |
---|---|---|
author | Tejun Heo <tj@kernel.org> | Tue Nov 18 02:49:50 2014 -0500 |
committer | Tejun Heo <tj@kernel.org> | Tue Nov 18 02:49:50 2014 -0500 |
tree | 6e026e7b68546545bda4ca1d2cf89525e6b1c14a | |
parent | cea74465e27b1306a237087fca2f5f0befcf1daf [diff] |
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>