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

From: Christoph Lameter
Date: Mon Mar 03 2008 - 15:18:38 EST


On Mon, 3 Mar 2008, Nick Piggin wrote:

> > You want two ways of specifying alignments?
>
> I want a way to ask for SMP friendly allocation.

Then align the objects at cacheline boundaries by providing a value for
the align parameter to kmem_cache_create().

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