Re: MMIO and gcc re-ordering issue

From: Alan Cox
Date: Tue May 27 2008 - 18:01:18 EST


On Tue, 27 May 2008 15:53:28 -0600
Matthew Wilcox <matthew@xxxxxx> wrote:

> On Tue, May 27, 2008 at 10:38:22PM +0100, Alan Cox wrote:
> > > re-ordering, even though I doubt it will be visible in practice. So if you
> > > use the "__" versions, you'd better have barriers even on x86!
> >
> > Are we also going to have __ioread*/__iowrite* ?
>
> Didn't we already define ioread*() to have loose semantics?

The ATA layer doesn't think so.

Alan
--
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/