Commit ad275627425c9b3c4fb1e69aa408067bd0bb77da

Behdad Esfahbod 2018-07-31T23:01:05

[atomic] On IBM, use light-weight sync for everything lwsync() is a full read/write-barrier. That's all we need, never need sync(). I'm not sure why an isync() was used in fetch_and_add, but since that's a read-modify-write, I just changed it to have lwsync() on both sides.