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

From: Pekka Enberg
Date: Wed Jul 26 2006 - 11:41:34 EST

Hi Christoph,

On 7/26/06, Christoph Lameter <clameter@xxxxxxx> wrote:
We intentionally discard the caller mandated alignment for debugging

Disagreed. The caller mandated alignment is not a hint. It is the
required minimum alignment for objects.

On 7/26/06, Christoph Lameter <clameter@xxxxxxx> wrote:
And it changes the basic way that slab debugging works.

Look at kmem_cache_create, we turn off debugging for both caller and
architecture mandated alignments already and the only reason we are
not doing it for Heiko is because the architecture recommended default
alignment is so large.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at