diff options
author | Mandeep Singh Baines <msb@chromium.org> | 2011-12-21 20:18:37 -0800 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2011-12-22 07:32:57 -0800 |
commit | 892a2b90ba15cb7dbee40979f23fdb492913abf8 (patch) | |
tree | db1cb827649a846b84e9c5da03d2b2cf4aedc656 /Documentation | |
parent | b07ef7741122a83575499c11417e514877941e76 (diff) |
cgroup: only need to check oldcgrp==newgrp once
In cgroup_attach_proc it is now sufficient to only check that
oldcgrp==newcgrp once. Now that we are using threadgroup_lock()
during the migrations, oldcgrp will not change.
Signed-off-by: Mandeep Singh Baines <msb@chromium.org>
Acked-by: Li Zefan <lizf@cn.fujitsu.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: containers@lists.linux-foundation.org
Cc: cgroups@vger.kernel.org
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Paul Menage <paul@paulmenage.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions