0001 Prior Operation Subsequent Operation
0002 --------------- ---------------------------
0003 C Self R W RMW Self R W DR DW RMW SV
0004 -- ---- - - --- ---- - - -- -- --- --
0005
0006 Relaxed store Y Y
0007 Relaxed load Y Y Y Y
0008 Relaxed RMW operation Y Y Y Y
0009 rcu_dereference() Y Y Y Y
0010 Successful *_acquire() R Y Y Y Y Y Y
0011 Successful *_release() C Y Y Y W Y
0012 smp_rmb() Y R Y Y R
0013 smp_wmb() Y W Y Y W
0014 smp_mb() & synchronize_rcu() CP Y Y Y Y Y Y Y Y
0015 Successful full non-void RMW CP Y Y Y Y Y Y Y Y Y Y Y
0016 smp_mb__before_atomic() CP Y Y Y a a a a Y
0017 smp_mb__after_atomic() CP a a Y Y Y Y Y Y
0018
0019
0020 Key: Relaxed: A relaxed operation is either READ_ONCE(), WRITE_ONCE(),
0021 a *_relaxed() RMW operation, an unsuccessful RMW
0022 operation, a non-value-returning RMW operation such
0023 as atomic_inc(), or one of the atomic*_read() and
0024 atomic*_set() family of operations.
0025 C: Ordering is cumulative
0026 P: Ordering propagates
0027 R: Read, for example, READ_ONCE(), or read portion of RMW
0028 W: Write, for example, WRITE_ONCE(), or write portion of RMW
0029 Y: Provides ordering
0030 a: Provides ordering given intervening RMW atomic operation
0031 DR: Dependent read (address dependency)
0032 DW: Dependent write (address, data, or control dependency)
0033 RMW: Atomic read-modify-write operation
0034 SELF: Orders self, as opposed to accesses before and/or after
0035 SV: Orders later accesses to the same variable