Re: [PATCH 3/4] cgroup: only need to check oldcgrp==newgrp once
From: Tejun Heo <hidden>
Date: 2011-12-22 15:38:32
Also in:
lkml
From: Tejun Heo <hidden>
Date: 2011-12-22 15:38:32
Also in:
lkml
On Wed, Dec 21, 2011 at 08:18:37PM -0800, 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 <redacted> Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Cc: cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org Cc: KAMEZAWA Hiroyuki <redacted> Cc: Frederic Weisbecker <redacted> Cc: Oleg Nesterov <redacted> Cc: Andrew Morton <akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org> Cc: Paul Menage <redacted>
Applied 1-3 to cgroup/for-3.3. I edited out mention of check_fetched rename in the commit description of the first patch and applied Acked-by from Li to all three. Li, let's stick to ack/nack. Thanks. -- tejun