Re: [RFT][PATCH] generic device DMA implementation
Alan Cox (firstname.lastname@example.org)
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
volatile may not be enough.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to email@example.com
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/