diff options
author | Tejun Heo <tj@kernel.org> | 2015-09-11 15:00:21 -0400 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2015-09-22 12:46:53 -0400 |
commit | adaae5dcf8920375a2fdc6268f762a0b7b331c55 (patch) | |
tree | a09f5065616798908cb15822081d7fe79d2fc50f /kernel/capability.c | |
parent | 9af2ec45c2d323d5ce35b431bb150c0eb567f19a (diff) |
cgroup: separate out taskset operations from cgroup_migrate()
Currently, cgroup_migreate() implements large part of the migration
logic inline including building the target taskset and actually
migrating them. This patch separates out the following taskset
operations.
CGROUP_TASKSET_INIT() : taskset initializer
cgroup_taskset_add() : add a task to a taskset
cgroup_taskset_migrate() : migrate a taskset to the destination cgroup
This will be used to implement atomic multi-process migration in
cgroup_update_dfl_csses(). This is pure reorganization which doesn't
introduce any functional changes.
Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Zefan Li <lizefan@huawei.com>
Diffstat (limited to 'kernel/capability.c')
0 files changed, 0 insertions, 0 deletions