tools/memory-order: Update the cheat-sheet to show that smp_mb__after_atomic() orders...
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Mon, 14 May 2018 23:33:44 +0000 (16:33 -0700)
committerIngo Molnar <mingo@kernel.org>
Tue, 15 May 2018 06:11:16 +0000 (08:11 +0200)
commitbfd403bb3617e17a272e1189e5c76253052c22b8
treec533bf77d34ea9302ef4ec4a5476ee995b640fca
parent35bb6ee6790600d29c598ebbf262359341f34e38
tools/memory-order: Update the cheat-sheet to show that smp_mb__after_atomic() orders later RMW operations

The current cheat sheet does not claim that smp_mb__after_atomic()
orders later RMW atomic operations, which it must, at least against
earlier RMW atomic operations and whatever precedes them.

This commit therefore adds the needed "Y".

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Will Deacon <will.deacon@arm.com>
Cc: akiyks@gmail.com
Cc: boqun.feng@gmail.com
Cc: dhowells@redhat.com
Cc: j.alglave@ucl.ac.uk
Cc: linux-arch@vger.kernel.org
Cc: luc.maranget@inria.fr
Cc: npiggin@gmail.com
Cc: parri.andrea@gmail.com
Link: http://lkml.kernel.org/r/1526340837-12222-6-git-send-email-paulmck@linux.vnet.ibm.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
tools/memory-model/Documentation/cheatsheet.txt