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

Christoph Lameter
2008-03-03T19:10:09Z

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?