Re: [patch 2/2] slab: always consider arch mandated alignment
From: Manfred Spraul
Date: Wed Jul 26 2006 - 15:27:09 EST
Christoph Lameter wrote:
So Redzoning etc will now be diabled regardless even if
ARCH_SLAB_MINALIGN is not set but another alignment is given to
kmem_cache_alloc?
kmem_cache_create().
So we sacrifice the ability to worsen the performance of slabs by
misaligning them for debugging purposes.
If a slab user can live with misaligned objects, then he shouldn't set
align. Thus we do not sacrifice anything.
--
Manfred
-
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/