Documentation/locking/atomic: Finish the document...
authorPeter Zijlstra <peterz@infradead.org>
Wed, 23 Aug 2017 16:15:20 +0000 (18:15 +0200)
committerIngo Molnar <mingo@kernel.org>
Fri, 25 Aug 2017 09:06:33 +0000 (11:06 +0200)
commitca110694c6950dfd7bc864138c80fe39ea43da5b
treecd1924e8654b7d3bf23e33eea2c4700536039b6c
parente6f3faa734a00c606b7b06c6b9f15e5627d3245b
Documentation/locking/atomic: Finish the document...

Julia reported that the document looked unfinished, and it is. I
forgot to include the example cooked up by Paul here:

  https://lkml.kernel.org/r/20170731174345.GL3730@linux.vnet.ibm.com

and I added an explicit example showing how, while it is an ACQUIRE
pattern, it really does provide an MB.

Reported-by: Julia Cartwright <julia@ni.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Boqun Feng <boqun.feng@gmail.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Will Deacon <will.deacon@arm.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Documentation/atomic_t.txt