Re: [PATCH 08/40] mm: kmem_cache_objsize

From: Pekka Enberg
Date: Fri May 04 2007 - 14:54:33 EST


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...


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/