diff options
author | Tejun Heo <tj@kernel.org> | 2016-03-08 11:51:26 -0500 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2016-03-08 11:51:26 -0500 |
commit | 37ff9f8f474216d0cfca7565a4e0caa521ee6e7e (patch) | |
tree | 2a3e271c6cb2c2c752ac51d7d46aa2c62dbcaa0a /include | |
parent | 6c694c88255b2052d9922d62df6df7c9e152eeeb (diff) | |
download | op-kernel-dev-37ff9f8f474216d0cfca7565a4e0caa521ee6e7e.zip op-kernel-dev-37ff9f8f474216d0cfca7565a4e0caa521ee6e7e.tar.gz |
cgroup: make cgroup[_taskset]_migrate() take cgroup_root instead of cgroup
On the default hierarchy, a migration can be multi-source and/or
multi-destination. cgroup_taskest_migrate() used to incorrectly
assume single destination cgroup but the bug has been fixed by
1f7dd3e5a6e4 ("cgroup: fix handling of multi-destination migration
from subtree_control enabling").
Since the commit, @dst_cgrp to cgroup[_taskset]_migrate() is only used
to determine which subsystems are affected or which cgroup_root the
migration is taking place in. As such, @dst_cgrp is misleading. This
patch replaces @dst_cgrp with @root.
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions