• Tejun Heo's avatar
    cgroup: make cgroup[_taskset]_migrate() take cgroup_root instead of cgroup · 37ff9f8f
    Tejun Heo authored
    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
    1f7dd3e5 ("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: default avatarTejun Heo <tj@kernel.org>
    37ff9f8f
cgroup.c 166 KB