From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tejun Heo Subject: Re: [PATCH 04/10] cgroup: always lock threadgroup during migration Date: Mon, 21 Nov 2011 14:05:19 -0800 Message-ID: <20111121220519.GO25776@google.com> References: <1320191193-8110-1-git-send-email-tj@kernel.org> <1320191193-8110-5-git-send-email-tj@kernel.org> <20111114184630.GE9446@somewhere> <20111114185242.GF9446@somewhere> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <20111114185242.GF9446@somewhere> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-pm-bounces@lists.linux-foundation.org Errors-To: linux-pm-bounces@lists.linux-foundation.org To: Frederic Weisbecker Cc: akpm@linux-foundation.org, containers@lists.linux-foundation.org, lizf@cn.fujitsu.com, linux-kernel@vger.kernel.org, oleg@redhat.com, linux-pm@lists.linux-foundation.org, paul@paulmenage.org, kamezawa.hiroyu@Jp.fujitsu.com List-Id: linux-pm@vger.kernel.org On Mon, Nov 14, 2011 at 07:52:43PM +0100, Frederic Weisbecker wrote: > On Mon, Nov 14, 2011 at 07:46:34PM +0100, Frederic Weisbecker wrote: > > I have the feeling the task_lock is now useless given that we are synchronized > > against cgroup_exit() with the threadgroup_lock. > > > > It's probably also useless in cgroup_exit(). But that's something for a further > > patch... > > > > Thanks. > > Oops, I missed what Kamezawa said and your answer, sorry. Yeap, I'll see how removing it for put looks. Thanks. -- tejun