Re: next-20130204 - bisected slab problem to "slab: Common constantsfor kmalloc boundaries"

From: James Hogan
Date: Tue Feb 05 2013 - 12:08:55 EST


On 05/02/13 16:36, Christoph Lameter wrote:
> OK I was able to reproduce it by setting ARCH_DMA_MINALIGN in slab.h. This
> patch fixes it here:
>
>
> Subject: slab: Handle ARCH_DMA_MINALIGN correctly
>
> A fixed KMALLOC_SHIFT_LOW does not work for arches with higher alignment
> requirements.
>
> Determine KMALLOC_SHIFT_LOW from ARCH_DMA_MINALIGN instead.
>
> Signed-off-by: Christoph Lameter <cl@xxxxxxxxx>

Thanks, your patch fixes it for me.

Cheers
James

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