Re: [rfc][patch 2/3] slab: introduce SMP alignment

Christoph Lameter
2008-03-03T20:09:55Z

On Mon, 3 Mar 2008, Nick Piggin wrote:

> > Mandatory alignment are specified as a parameter to kmem_cache_create not
> > as flags.
>
> Not after this patch.

You want two ways of specifying alignments?

> > Ycan specify the alignment as a parameter. i.e. L1_CACHE_BYTES
> > or cache_line_size().
>
> We don't want either of those, though.
>
> I don't see why this is a problem to do inside slab.

I am not sure why you need to have two ways of specifying alignments.