Re: MMIO and gcc re-ordering (Was: [PATCH] [POWERPC]Improve (in|out)_beXX() asm code)
From: Benjamin Herrenschmidt
Date: Fri May 23 2008 - 18:48:34 EST
On Fri, 2008-05-23 at 16:14 -0500, Scott Wood wrote:
> As Trent pointed out, if you change to eieio in the accessors, that'd
> require drivers to also use mmiowb() before spin_unlock(), which fewer
> drivers currently do.
No, this is a totally different issue. And we keep track of the need
for a sync in spin_unlock already.
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/