Re: [RFT][PATCH] generic device DMA implementation

James Bottomley (James.Bottomley@SteelEye.com)
Sat, 28 Dec 2002 12:40:11 -0600


manfred@colorfullife.com said:
> If multiple kmalloc buffers fit into one cacheline, then it can happen
> all the time. But the smallest kmalloc buffer is 64 bytes [assuming
> page size > 4096].

Actually, I did forget to mention that on parisc non-coherent, the minimum
kmalloc allocation is the cache line width, so that problem cannot occur.

Hmm, perhaps that is an easier (and faster) approach to fixing the problems on
non-coherent platforms?

James

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/