summaryrefslogtreecommitdiffstats
path: root/kernel/cgroup.c
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2011-12-12 18:12:22 -0800
committerTejun Heo <tj@kernel.org>2011-12-12 18:12:22 -0800
commit94196f51c1ee5bbad674de28c682b17d78adb8e6 (patch)
treea4965645000e9766f06ee7b5eb2bab098cde0f8c /kernel/cgroup.c
parentbb9d97b6dffa10cec5e1ce9adbce60f3c2b5eabc (diff)
downloadop-kernel-dev-94196f51c1ee5bbad674de28c682b17d78adb8e6.zip
op-kernel-dev-94196f51c1ee5bbad674de28c682b17d78adb8e6.tar.gz
cgroup, cpuset: don't use ss->pre_attach()
->pre_attach() is supposed to be called before migration, which is observed during process migration but task migration does it the other way around. The only ->pre_attach() user is cpuset which can do the same operaitons in ->can_attach(). Collapse cpuset_pre_attach() into cpuset_can_attach(). -v2: Patch contamination from later patch removed. Spotted by Paul Menage. Signed-off-by: Tejun Heo <tj@kernel.org> Reviewed-by: Frederic Weisbecker <fweisbec@gmail.com> Acked-by: Paul Menage <paul@paulmenage.org> Cc: Li Zefan <lizf@cn.fujitsu.com>
Diffstat (limited to 'kernel/cgroup.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud