Re: [patch] mm, slab: initialize object alignment on cache creation

From: David Rientjes
Date: Tue Sep 23 2014 - 20:11:05 EST


On Tue, 23 Sep 2014, Christoph Lameter wrote:

> > The proper alignment defaults to BYTES_PER_WORD and can be overridden by
> > SLAB_RED_ZONE or the alignment specified by the caller.
>
> Where does it default to BYTES_PER_WORD in __kmem_cache_create?
>

Previous to commit 4590685546a3 ("mm/sl[aou]b: Common alignment code")
which introduced this issue.
--
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/