Re: [patch 09/10] Remove the SLOB allocator for 2.6.23

From: Håvard Skinnemoen
Date: Tue Jul 10 2007 - 05:01:56 EST


On 7/10/07, Matt Mackall <mpm@xxxxxxxxxxx> wrote:
The only remaining known bug is arguably a problem in nommu that SLOB
shouldn't be papering over.

I've got another one for you: SLOB ignores ARCH_KMALLOC_MINALIGN so
using SLOB in combination with DMA and non-coherent architectures
causes data corruption.

That said, there are currently very few architectures that define
ARCH_KMALLOC_MINALIGN, so I guess it might be something I'm doing
wrong on avr32. But I'd really like to know how other non-coherent
architectures handle DMA to buffers sharing cachelines with unrelated
data...

Håvard
-
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/