Subject: Re: [PATCH 08/40] mm: kmem_cache_objsize

From: Pekka Enberg <[email-masked]>
Date: Fri, 04 May 2007 21:54:22 +0300

Christoph Lameter wrote:
> On Fri, 4 May 2007, Pekka Enberg wrote:
> 
>> Again, slab has no way of actually estimating how many pages you need for a
>> given number of objects. So we end up calculating some upper bound which
>> doesn't belong in mm/slab.c. I am perfectly okay with:
> 
> It can give a worst case number and that is what he wants.

Sure. But he can calculate that elsewhere instead of bringing it in 
mm/slab.c where it's no use for anyone else...