On Fri, Jun 28, 2019 at 05:44:35PM +0200, Peter Zijlstra wrote: > On Fri, Jun 28, 2019 at 11:50:33AM +0200, John Ogness wrote:
> > cmpxchg_release() vs WRITE_ONCE() is not safe?! Can you point me to > > documentation about this? > > Documentation/atomic_t.txt has this, see the SEMANTICS section on > atomic-set. Also see: arch/parisc/lib/bitops.c for one such case.

