Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754733Ab1C2XkU (ORCPT ); Tue, 29 Mar 2011 19:40:20 -0400 Received: from smtp1.linux-foundation.org ([140.211.169.13]:34906 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751683Ab1C2XkS (ORCPT ); Tue, 29 Mar 2011 19:40:18 -0400 Date: Tue, 29 Mar 2011 16:39:17 -0700 From: Andrew Morton To: Paul Menage Cc: Ben Blum , linux-kernel@vger.kernel.org, containers@lists.linux-foundation.org, ebiederm@xmission.com, lizf@cn.fujitsu.com, matthltc@us.ibm.com, oleg@redhat.com, David Rientjes , Miao Xie Subject: Re: [PATCH v8.5 3/3] cgroups: make procs file writable Message-Id: <20110329163917.6b5d4149.akpm@linux-foundation.org> In-Reply-To: References: <20110208013542.GC31569@ghc17.ghc.andrew.cmu.edu> <20110208013950.GF31569@ghc17.ghc.andrew.cmu.edu> <20110310061831.GA23736@ghc17.ghc.andrew.cmu.edu> <20110315211353.GA9992@ghc17.ghc.andrew.cmu.edu> <20110322051841.GA12055@ghc17.ghc.andrew.cmu.edu> X-Mailer: Sylpheed 3.0.2 (GTK+ 2.20.1; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1097 Lines: 26 On Tue, 29 Mar 2011 16:27:19 -0700 Paul Menage wrote: > On Mon, Mar 21, 2011 at 10:18 PM, Ben Blum wrote: > > Makes procs file writable to move all threads by tgid at once > > > > From: Ben Blum > > > > This patch adds functionality that enables users to move all threads in a > > threadgroup at once to a cgroup by writing the tgid to the 'cgroup.procs' > > file. This current implementation makes use of a per-threadgroup rwsem that's > > taken for reading in the fork() path to prevent newly forking threads within > > the threadgroup from "escaping" while the move is in progress. > > > > Signed-off-by: Ben Blum > > Reviewed-by: Paul Menage > > OK, I guess this is ready to go in :-) It all needs a refresh, retest and resend please. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/