From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754810AbYCKIQL (ORCPT ); Tue, 11 Mar 2008 04:16:11 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751213AbYCKIP4 (ORCPT ); Tue, 11 Mar 2008 04:15:56 -0400 Received: from e28smtp01.in.ibm.com ([59.145.155.1]:59361 "EHLO e28smtp01.in.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752125AbYCKIPz (ORCPT ); Tue, 11 Mar 2008 04:15:55 -0400 Message-ID: <47D63FB1.7040502@linux.vnet.ibm.com> Date: Tue, 11 Mar 2008 13:45:45 +0530 From: Balbir Singh Reply-To: balbir@linux.vnet.ibm.com Organization: IBM User-Agent: Thunderbird 2.0.0.9 (X11/20071115) MIME-Version: 1.0 To: Pavel Emelyanov CC: Andrew Morton , Hugh Dickins , Sudhir Kumar , YAMAMOTO Takashi , Paul Menage , 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 (v2) References: <20080311061836.6664.5072.sendpatchset@localhost.localdomain> <47D63E9D.70500@openvz.org> In-Reply-To: <47D63E9D.70500@openvz.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Pavel Emelyanov wrote: > Balbir Singh wrote: >> Move the memory controller data structure page_cgroup to its own slab cache. >> 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. > > Can you, please, check how many objects-per-page we have with and > without this patch for SLAB and SLUB? > > Thanks. I can for objects-per-page with this patch for SLUB and SLAB. I am not sure about what to check for without this patch. The machine is temporarily busy, I'll check it once I get it back. -- Warm Regards, Balbir Singh Linux Technology Center IBM, ISTL