Thread (19 messages) 19 messages, 3 authors, 2011-12-21

Re: [PATCH 3/5] cgroup: only need to check oldcgrp==newgrp once

From: Li Zefan <hidden>
Date: 2011-12-21 01:27:33
Also in: cgroups

Mandeep Singh Baines wrote:
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 <redacted>
Reviewed-by: Li Zefan <redacted>
Cc: Tejun Heo <tj@kernel.org>
Cc: Li Zefan <redacted>
Cc: containers@lists.linux-foundation.org
Cc: cgroups@vger.kernel.org
Cc: KAMEZAWA Hiroyuki <redacted>
Cc: Frederic Weisbecker <redacted>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Paul Menage <redacted>
---
 kernel/cgroup.c |   17 ++++++-----------
 1 files changed, 6 insertions(+), 11 deletions(-)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help