From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail138.messagelabs.com (mail138.messagelabs.com [216.82.249.35]) by kanga.kvack.org (Postfix) with SMTP id D4BB06B006A for ; Wed, 14 Jan 2009 22:09:37 -0500 (EST) Received: from m3.gw.fujitsu.co.jp ([10.0.50.73]) by fgwmail7.fujitsu.co.jp (Fujitsu Gateway) with ESMTP id n0F39ZNZ017250 for (envelope-from kamezawa.hiroyu@jp.fujitsu.com); Thu, 15 Jan 2009 12:09:35 +0900 Received: from smail (m3 [127.0.0.1]) by outgoing.m3.gw.fujitsu.co.jp (Postfix) with ESMTP id 2F11F45DD78 for ; Thu, 15 Jan 2009 12:09:35 +0900 (JST) Received: from s3.gw.fujitsu.co.jp (s3.gw.fujitsu.co.jp [10.0.50.93]) by m3.gw.fujitsu.co.jp (Postfix) with ESMTP id D1E4B45DD7D for ; Thu, 15 Jan 2009 12:09:34 +0900 (JST) Received: from s3.gw.fujitsu.co.jp (localhost.localdomain [127.0.0.1]) by s3.gw.fujitsu.co.jp (Postfix) with ESMTP id 936381DB8038 for ; Thu, 15 Jan 2009 12:09:34 +0900 (JST) Received: from m107.s.css.fujitsu.com (m107.s.css.fujitsu.com [10.249.87.107]) by s3.gw.fujitsu.co.jp (Postfix) with ESMTP id 22E7D1DB803F for ; Thu, 15 Jan 2009 12:09:34 +0900 (JST) Date: Thu, 15 Jan 2009 12:08:29 +0900 From: KAMEZAWA Hiroyuki Subject: Re: [RFC][PATCH 5/4] memcg: don't call res_counter_uncharge when obsolete Message-Id: <20090115120829.e1d417e8.kamezawa.hiroyu@jp.fujitsu.com> In-Reply-To: <20090115114846.388781a7.kamezawa.hiroyu@jp.fujitsu.com> References: <20090113184533.6ffd2af9.nishimura@mxp.nes.nec.co.jp> <20090114175121.275ecd59.nishimura@mxp.nes.nec.co.jp> <20090114135539.GA21516@balbir.in.ibm.com> <20090115114846.388781a7.kamezawa.hiroyu@jp.fujitsu.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org To: KAMEZAWA Hiroyuki Cc: balbir@linux.vnet.ibm.com, Daisuke Nishimura , LKML , linux-mm , Andrew Morton , Pavel Emelyanov , Li Zefan , Paul Menage List-ID: On Thu, 15 Jan 2009 11:48:46 +0900 KAMEZAWA Hiroyuki wrote: > On Wed, 14 Jan 2009 19:25:39 +0530 > Balbir Singh wrote: > > I liked the earlier, EBUSY approach that ensured that parents could > > not go away if children exist. IMHO, the code has gotten too complex > > and has too many corner cases. Time to revisit it. > > > It's on my plan. > I'll fix this by CSS-ID patch. > > When I recored memcg's CSS-ID to swap_cgroup (not pointer to memcg), > we never need memcg's refcnt. > Sorry, ignore this. refcnt in memcg is necessary anyway to prevent reuse of ID. -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