From: Tejun Heo Date: Tue, 13 Dec 2011 02:12:22 +0000 (-0800) Subject: cgroup, cpuset: don't use ss->pre_attach() X-Git-Tag: v3.3-rc1~148^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=94196f51c1ee5bbad674de28c682b17d78adb8e6;p=pandora-kernel.git 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 Reviewed-by: Frederic Weisbecker Acked-by: Paul Menage Cc: Li Zefan --- Reading git-diff-tree failed