Re: [patch] slab: always follow arch requested alignments

From: Pekka Enberg
Date: Wed Jul 26 2006 - 08:05:53 EST


On 7/26/06, Christoph Lameter <clameter@xxxxxxx> wrote:
Your patch only deals with ARCH_SLAB_MINALIGN. kmem_cache_create() never
uses ARCH_KMALLOC_MINALIGN only kmem_cache_init() does by passing it to
kmem_cache_create. ARCH_KMALLOC_MINALIGN will still be ignored.

Yes, in which case the caller mandated align will be, well,
ARCH_KMALLOC_MINALIGN. The patch changes kmem_cache_create to respect
caller mandated alignment too.

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