summaryrefslogtreecommitdiffstats
path: root/kernel/cpu.c
diff options
context:
space:
mode:
authorFrederic Weisbecker <fweisbec@gmail.com>2011-12-21 20:03:18 +0100
committerTejun Heo <tj@kernel.org>2011-12-21 20:15:01 +0100
commitc84cdf75ccb2845f690579e838f13f7e744e3d23 (patch)
treea94bd69e84e7996852e1973c75fe11a2b0f1a42d /kernel/cpu.c
parentcgroup: Drop task_lock(parent) on cgroup_fork() (diff)
downloadlinux-c84cdf75ccb2845f690579e838f13f7e744e3d23.tar.xz
linux-c84cdf75ccb2845f690579e838f13f7e744e3d23.zip
cgroup: Remove unnecessary task_lock before fetching css_set on migration
When we fetch the css_set of the tasks on cgroup migration, we don't need anymore to synchronize against cgroup_exit() that could swap the old one with init_css_set. Now that we are using threadgroup_lock() during the migrations, we don't need to worry about it anymore. Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com> Reviewed-by: Mandeep Singh Baines <msb@chromium.org> Reviewed-by: Li Zefan <lizf@cn.fujitsu.com> Signed-off-by: Tejun Heo <tj@kernel.org> Cc: Containers <containers@lists.linux-foundation.org> Cc: Cgroups <cgroups@vger.kernel.org> Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> Cc: Oleg Nesterov <oleg@redhat.com> Cc: Andrew Morton <akpm@linux-foundation.org> Cc: Paul Menage <paul@paulmenage.org>
Diffstat (limited to 'kernel/cpu.c')
0 files changed, 0 insertions, 0 deletions