[RFC][PATCH 0/5] arch: atomic rework

Peter Zijlstra peterz@infradead.org
Tue Feb 18 21:40:00 GMT 2014

On Tue, Feb 18, 2014 at 10:21:56PM +0100, Torvald Riegel wrote:
> Well, that's how atomics that aren't volatile are defined in the
> standard.  I can see that you want something else too, but that doesn't
> mean that the other thing is broken.

Well that other thing depends on being able to see the entire program at
compile time. PaulMck already listed various ways in which this is
not feasible even for normal userspace code.

In particular; DSOs and JITs were mentioned.

More information about the Gcc mailing list