From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753598AbYCKIoU (ORCPT ); Tue, 11 Mar 2008 04:44:20 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751040AbYCKIoM (ORCPT ); Tue, 11 Mar 2008 04:44:12 -0400 Received: from sacred.ru ([62.205.161.221]:55814 "EHLO sacred.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750899AbYCKIoM (ORCPT ); Tue, 11 Mar 2008 04:44:12 -0400 Message-ID: <47D6443D.9000904@openvz.org> Date: Tue, 11 Mar 2008 11:35:09 +0300 From: Pavel Emelyanov User-Agent: Thunderbird 2.0.0.12 (X11/20080213) MIME-Version: 1.0 To: balbir@linux.vnet.ibm.com 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> <47D63FB1.7040502@linux.vnet.ibm.com> In-Reply-To: <47D63FB1.7040502@linux.vnet.ibm.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-3.0 (sacred.ru [62.205.161.221]); Tue, 11 Mar 2008 11:35:10 +0300 (MSK) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Balbir Singh wrote: > 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, Well, the objects-per-page without the patch is objects-per-page for according kmalloc cache :) > I'll check it once I get it back. > Ok, thanks!