Cc: Christoph Lameter <clameter@...>, <heiko.carstens@...>, <horms@...>, Stefan Richter <stefanr@...>, Bill Fink <billfink@...>, Linux Kernel Mailing List <linux-kernel@...>, Paul E. McKenney <paulmck@...>, <netdev@...>, <ak@...>, <cfriesen@...>, <rpjday@...>, <jesper.juhl@...>, <linux-arch@...>, Andrew Morton <akpm@...>, <zlynx@...>, <schwidefsky@...>, Chris Snook <csnook@...>, Herbert Xu <herbert@...>, <davem@...>, Linus Torvalds <torvalds@...>, <wensong@...>, <wjiang@...>
> Here, I should obviously admit that the semantics of *(volatile int *)&
Where do you get that idea? GCC manual, section 6.1, "When
is a Volatile Object Accessed?" doesn't say anything of the
kind. PR33053 and some others.
Yeah. Or we can have an email thread like this every time
someone proposes a patch that uses an atomic variable ;-)
Segher
-