Re: [PATCH] Export symbol ksize()

From: Christoph Lameter
Date: Tue Feb 17 2009 - 12:14:21 EST


On Tue, 17 Feb 2009, Pekka Enberg wrote:

> Hmm, kmem_cache_size() seems bit pointless to me. For
> kmem_cache_create()'d caches, actual allocated size should be more or
> less optimal with no extra space.

Cacheline alignment and word alignment etc etc can still add some space to
the object.

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