Re: [RFT][PATCH] generic device DMA implementation
Alan Cox (alan@lxorguk.ukuu.org.uk)
30 Dec 2002 00:45:54 +0000
On Sat, 2002-12-28 at 03:39, Adam J. Richter wrote:
> I know Documentation/DMA-mapping.txt says that, and I
> understand that wmb() is necessary with consistent memory, but I
> wonder if rmb() really is, at least if you've declared the data
> structures in question as volatile to prevent reordering of reads by
> the compiler.
Compiler ordering != Processor to memory ordering != PCI device view
ordering
volatile may not be enough.
Alan
-
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/