From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from sd0109e.au.ibm.com (d23rh905.au.ibm.com [202.81.18.225]) by e23smtp04.au.ibm.com (8.13.1/8.13.1) with ESMTP id m2B4kKI2014199 for ; Tue, 11 Mar 2008 15:46:20 +1100 Received: from d23av02.au.ibm.com (d23av02.au.ibm.com [9.190.235.138]) by sd0109e.au.ibm.com (8.13.8/8.13.8/NCO v8.7) with ESMTP id m2B4oR6W232178 for ; Tue, 11 Mar 2008 15:50:27 +1100 Received: from d23av02.au.ibm.com (loopback [127.0.0.1]) by d23av02.au.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id m2B4kiH7014333 for ; Tue, 11 Mar 2008 15:46:45 +1100 Message-ID: <47D60EB1.8090109@linux.vnet.ibm.com> Date: Tue, 11 Mar 2008 10:16:41 +0530 From: Balbir Singh Reply-To: balbir@linux.vnet.ibm.com MIME-Version: 1.0 Subject: Re: [PATCH] Move memory controller allocations to their own slabs References: <20080311043149.20251.50059.sendpatchset@localhost.localdomain> <20080311134556.297e8c10.kamezawa.hiroyu@jp.fujitsu.com> In-Reply-To: <20080311134556.297e8c10.kamezawa.hiroyu@jp.fujitsu.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org Return-Path: To: KAMEZAWA Hiroyuki Cc: Paul Menage , Andrew Morton , Pavel Emelianov , Hugh Dickins , Sudhir Kumar , YAMAMOTO Takashi , lizf@cn.fujitsu.com, linux-kernel@vger.kernel.org, taka@valinux.co.jp, linux-mm@kvack.org, David Rientjes List-ID: KAMEZAWA Hiroyuki wrote: > On Tue, 11 Mar 2008 10:01:49 +0530 > Balbir Singh wrote: > >> Move the memory controller data structures page_cgroup and >> mem_cgroup_per_zone to their own slab caches. It saves space on the system, >> allocations are not necessarily pushed to order of 2 and should provide >> performance benefits. Users who disable the memory controller can also double >> check that the memory controller is not allocating page_cgroup's. >> >> Signed-off-by: Balbir Singh >> --- > I think using its own kmem_cache for mem_cgroup_per_zone is a bit overkill. OK, sure, we can move back to the kmalloc. -- Warm Regards, Balbir Singh Linux Technology Center IBM, ISTL -- 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