Re: [PATCH v3] ad7877: keep dma rx buffers in seperate cache lines

From: Pekka Enberg
Date: Tue May 11 2010 - 15:00:17 EST


Dmitry Torokhov wrote:
The architectures that we are trying to deal with here should be forcing
kmalloc to the cache boundary already though - otherwise they would not
be able to used kmalloced memory for DMA buffers at all. Or am I utterly
lost here?

I don't know which architecture you're talking about but it's not true in general and you probably don't want to depend on it even if it happens to work now.
--
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/