Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754936AbYLJNsY (ORCPT ); Wed, 10 Dec 2008 08:48:24 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753040AbYLJNsN (ORCPT ); Wed, 10 Dec 2008 08:48:13 -0500 Received: from rcpt-expgw.biglobe.ne.jp ([133.205.19.66]:45086 "EHLO rcpt-expgw.biglobe.ne.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752974AbYLJNsN (ORCPT ); Wed, 10 Dec 2008 08:48:13 -0500 X-Biglobe-Sender: Date: Wed, 10 Dec 2008 22:47:58 +0900 From: Daisuke Nishimura To: balbir@linux.vnet.ibm.com Cc: KAMEZAWA Hiroyuki , Paul Menage , "linux-mm@kvack.org" , "nishimura@mxp.nes.nec.co.jp" , "lizf@cn.fujitsu.com" , "kosaki.motohiro@jp.fujitsu.com" , "linux-kernel@vger.kernel.org" , d-nishimura@mtf.biglobe.ne.jp Subject: Re: [RFC][PATCH 1/6] memcg: fix pre_destory handler Message-Id: <20081210224758.46abbd59.d-nishimura@mtf.biglobe.ne.jp> In-Reply-To: <20081210132559.GF25467@balbir.in.ibm.com> References: <6599ad830812100240g5e549a5cqe29cbea736788865@mail.gmail.com> <29741.10.75.179.61.1228908581.squirrel@webmail-b.css.fujitsu.com> <20081210132559.GF25467@balbir.in.ibm.com> Reply-To: nishimura@mxp.nes.nec.co.jp X-Mailer: Sylpheed 2.5.0rc2 (GTK+ 2.12.12; i386-redhat-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: 1145 Lines: 30 On Wed, 10 Dec 2008 18:55:59 +0530 Balbir Singh wrote: > * KAMEZAWA Hiroyuki [2008-12-10 20:29:41]: > > > Paul Menage said: > > > The reason for needing this patch is because of the non-atomic locking > > > in cgroup_rmdir() that was introduced due to the circular locking > > > dependency between the hotplug lock and the cgroup_mutex. > > > > > > But rather than adding a whole bunch more complexity, this looks like > > > another case that could be solved by the hierarchy_mutex patches that > > > I posted a while ago. > > > > > Paul, I can't find those patches in -mm. I will try and dig them out > from my mbox. I agree, we need a hierarchy_mutex, cgroup_mutex is > becoming the next BKL. > Hmm.. but doesn't per-hierarchy-mutex solve the problem if memory and cpuset mounted on the same hierarchy ? Thanks, Daisuke Nishimura. -- 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/