Re: [rfc][patch 3/3] use SLAB_ALIGN_SMP

From: Christoph Lameter
Date: Mon Mar 03 2008 - 14:10:10 EST


On Mon, 3 Mar 2008, Pekka Enberg wrote:

> At least historically SLAB_HWCACHE_ALIGN has been just a hint,
> although slab tries very hard to satisfy it (see the comments in
> mm/slab.c). Why do we need stronger guarantees than that, btw?

Its a hint. Alignment is specified as a parameter to kmem_cache_create not
as a flag. Maybe we could remove SLAB_HWCACHE_ALIGN because it is causing
so much confusion?

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