diff options
author | Li Zefan <lizefan@huawei.com> | 2013-03-13 09:17:09 +0800 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2013-03-20 07:50:25 -0700 |
commit | 081aa458c38ba576bdd4265fc807fa95b48b9e79 (patch) | |
tree | b080dbb2d1fed0b53193b8552f561d8bab39d6b5 /kernel/cpuset.c | |
parent | bd2953ebbb533aeda9b86c82a53d5197a9a38f1b (diff) |
cgroup: consolidate cgroup_attach_task() and cgroup_attach_proc()
These two functions share most of the code.
Signed-off-by: Li Zefan <lizefan@huawei.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'kernel/cpuset.c')
-rw-r--r-- | kernel/cpuset.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/cpuset.c b/kernel/cpuset.c index efbfca7a33e4..98d458aad789 100644 --- a/kernel/cpuset.c +++ b/kernel/cpuset.c @@ -2008,7 +2008,7 @@ static void cpuset_do_move_task(struct task_struct *tsk, struct cgroup *new_cgroup = scan->data; cgroup_lock(); - cgroup_attach_task(new_cgroup, tsk); + cgroup_attach_task(new_cgroup, tsk, false); cgroup_unlock(); } |