aboutsummaryrefslogtreecommitdiff
path: root/mm/mm_init.c
diff options
context:
space:
mode:
authorTejun Heo2016-02-23 10:00:51 -0500
committerTejun Heo2016-02-23 10:00:51 -0500
commit62716ea0f2ea4253984008fd4a96a532674ac58f (patch)
treec3bbb24ec9952ac9c549b798c3394de3a7c4a246 /mm/mm_init.c
parentf17fc25f2b4f4bd8edafe36af6d7379eb9db27a0 (diff)
cgroup: use ->subtree_control when testing no internal process rule
No internal process rule is enforced by cgroup_migrate_prepare_dst() during process migration. It tests whether the target cgroup's ->child_subsys_mask is zero which is different from "subtree_control" write path which tests ->subtree_control. This hasn't mattered because up until now, both ->child_subsys_mask and ->subtree_control are zero or non-zero at the same time. However, with the planned addition of implicit controllers, this will no longer be true. This patch prepares for the change by making cgorup_migrate_prepare_dst() test ->subtree_control instead. Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'mm/mm_init.c')
0 files changed, 0 insertions, 0 deletions