From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756645AbYCKEl5 (ORCPT ); Tue, 11 Mar 2008 00:41:57 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750974AbYCKElt (ORCPT ); Tue, 11 Mar 2008 00:41:49 -0400 Received: from smtp1.linux-foundation.org ([140.211.169.13]:51723 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752164AbYCKElt (ORCPT ); Tue, 11 Mar 2008 00:41:49 -0400 Date: Mon, 10 Mar 2008 21:41:00 -0700 From: Andrew Morton To: Balbir Singh Cc: Paul Menage , 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 , KAMEZAWA Hiroyuki Subject: Re: [PATCH] Move memory controller allocations to their own slabs Message-Id: <20080310214100.d7fe7904.akpm@linux-foundation.org> In-Reply-To: <20080311043149.20251.50059.sendpatchset@localhost.localdomain> References: <20080311043149.20251.50059.sendpatchset@localhost.localdomain> X-Mailer: Sylpheed 2.3.1 (GTK+ 2.10.11; x86_64-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 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. eh? Those structures are tiny. Which slab allocator has gone and used an order-2 allocation and for which structure did it (stupidly) do this?