Messages in this thread | | | Date | Thu, 22 Dec 2011 07:38:22 -0800 | From | Tejun Heo <> | Subject | Re: [PATCH 3/4] cgroup: only need to check oldcgrp==newgrp once |
| |
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 <msb@chromium.org> > Reviewed-by: Li Zefan <lizf@cn.fujitsu.com> > Cc: 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>
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
| |