]> git.karo-electronics.de Git - karo-tx-linux.git/commit
doc/atomic_ops: Clarify smp_mb__{before,after}_atomic()
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Wed, 19 Apr 2017 21:30:37 +0000 (14:30 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Thu, 8 Jun 2017 15:25:28 +0000 (08:25 -0700)
commit79269ee3fa1da52f392f8a4ebf3082152c1c8c58
treebebc09432aff96b833aefc92b85e51982bfa4c3e
parentf60cb4d4c8e568c2d63d01d72e589c4f75ee4140
doc/atomic_ops: Clarify smp_mb__{before,after}_atomic()

This commit explicitly states that surrounding a non-value-returning
atomic read-modify atomic operations provides full ordering, just as
is provided by value-returning atomic read-modify-write operations.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Documentation/core-api/atomic_ops.rst