From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail190.messagelabs.com (mail190.messagelabs.com [216.82.249.51]) by kanga.kvack.org (Postfix) with ESMTP id 6EF8B6B0093 for ; Mon, 31 Aug 2009 07:11:49 -0400 (EDT) Received: from d28relay03.in.ibm.com (d28relay03.in.ibm.com [9.184.220.60]) by e28smtp03.in.ibm.com (8.14.3/8.13.1) with ESMTP id n7VBBmB0008827 for ; Mon, 31 Aug 2009 16:41:48 +0530 Received: from d28av05.in.ibm.com (d28av05.in.ibm.com [9.184.220.67]) by d28relay03.in.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id n7VBBm3p2818198 for ; Mon, 31 Aug 2009 16:41:48 +0530 Received: from d28av05.in.ibm.com (loopback [127.0.0.1]) by d28av05.in.ibm.com (8.14.3/8.13.1/NCO v10.0 AVout) with ESMTP id n7VBBlJ2009216 for ; Mon, 31 Aug 2009 21:11:48 +1000 Date: Mon, 31 Aug 2009 16:41:46 +0530 From: Balbir Singh Subject: Re: [RFC][PATCH 5/5] memcg: drain per cpu stock Message-ID: <20090831111146.GJ4770@balbir.in.ibm.com> Reply-To: balbir@linux.vnet.ibm.com References: <20090828132015.10a42e40.kamezawa.hiroyu@jp.fujitsu.com> <20090828132809.ad7cfebc.kamezawa.hiroyu@jp.fujitsu.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <20090828132809.ad7cfebc.kamezawa.hiroyu@jp.fujitsu.com> Sender: owner-linux-mm@kvack.org To: KAMEZAWA Hiroyuki Cc: "linux-mm@kvack.org" , "linux-kernel@vger.kernel.org" , "nishimura@mxp.nes.nec.co.jp" List-ID: * KAMEZAWA Hiroyuki [2009-08-28 13:28:09]: > > Add function for dropping per-cpu stock of charges. > This is called when > - cpu is unplugged. > - force_empty > - recalim seems to be not easy. > > Signed-off-by: KAMEZAWA Hiroyuki The complexity of this patch and additional code make percpu_counter more attractive. Why not work on percpu_counter if that is not as good as we expect it to be and in turn help other exploiters as well. -- Balbir -- 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