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

From: James Bottomley (James.Bottomley@SteelEye.com)
Date: Sat Dec 28 2002 - 13:40:11 EST


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/



This archive was generated by hypermail 2b29 : Tue Dec 31 2002 - 22:00:12 EST