lkml.org 
[lkml]   [2008]   [Mar]   [11]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateTue, 11 Mar 2008 10:15:40 +0530
FromBalbir Singh <>
SubjectRe: [PATCH] Move memory controller allocations to their own slabs
Andrew Morton wrote:
> On Tue, 11 Mar 2008 10:01:49 +0530 Balbir Singh <balbir@linux.vnet.ibm.com> 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?
> 
> 

When I say order of 2, I meant with kmalloc. They are rounded of to 64, 128 byte
boundary. I wanted to pack these objects more closely.

-- 
	Warm Regards,
	Balbir Singh
	Linux Technology Center
	IBM, ISTL


\
 
 \ /
  Last update: 2008-03-11 05:49    [from the cache]
©2003-2008