From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Wed, 4 Jun 2008 16:03:56 +0900 From: KAMEZAWA Hiroyuki Subject: Re: [RFC][PATCH 1/2] memcg: res_counter hierarchy Message-Id: <20080604160356.f3f2488d.kamezawa.hiroyu@jp.fujitsu.com> In-Reply-To: <48463C14.4000705@cn.fujitsu.com> References: <20080604135815.498eaf82.kamezawa.hiroyu@jp.fujitsu.com> <20080604140153.fec6cc99.kamezawa.hiroyu@jp.fujitsu.com> <48463C14.4000705@cn.fujitsu.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org Return-Path: To: Li Zefan Cc: "linux-mm@kvack.org" , LKML , "balbir@linux.vnet.ibm.com" , "menage@google.com" , "xemul@openvz.org" , "yamamoto@valinux.co.jp" List-ID: On Wed, 04 Jun 2008 14:54:12 +0800 Li Zefan wrote: > > Index: temp-2.6.26-rc2-mm1/Documentation/controllers/resource_counter.txt > > =================================================================== > > --- temp-2.6.26-rc2-mm1.orig/Documentation/controllers/resource_counter.txt > > +++ temp-2.6.26-rc2-mm1/Documentation/controllers/resource_counter.txt > > @@ -44,6 +44,13 @@ to work with it. > > Protects changes of the above values. > > > > > > + f. struct res_counter *parent > > + > > + Parent res_counter under hierarchy. > > + > > + g. unsigned long long for_children > > + > > + Resources assigned to children. This is included in usage. > > Since parent and for_children are also protected by res_count->lock, > the above text should appear before 'e. spinlock_t lock'. > ok. Thanks, -Kame -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org