]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1d3fc854d3cf1134d7f0c0e021d5a4e3942d8fbe
treecd1924e8654b7d3bf23e33eea2c4700536039b6c
parentb2d633cefb7f4a02eeed96ebd329217e75d8b564
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