diff options
author | 2023-01-29 09:41:44 -0800 | |
---|---|---|
committer | 2023-03-22 12:02:21 -0700 | |
commit | 02bae7a24257947fe95fcca80c78e6cb602e94bf (patch) | |
tree | 2c8cade39b72d52e748157c284c7b47174879058 /tools/perf/scripts/python/syscall-counts.py | |
parent | tools/memory-model: Unify UNLOCK+LOCK pairings to po-unlock-lock-po (diff) | |
download | wireguard-linux-02bae7a24257947fe95fcca80c78e6cb602e94bf.tar.xz wireguard-linux-02bae7a24257947fe95fcca80c78e6cb602e94bf.zip |
tools/memory-model: Add smp_mb__after_srcu_read_unlock()
This commit adds support for smp_mb__after_srcu_read_unlock(), which,
when combined with a prior srcu_read_unlock(), implies a full memory
barrier. No ordering is guaranteed to accesses between the two, and
placing accesses between is bad practice in any case.
Tests may be found at https://github.com/paulmckrcu/litmus in files
matching manual/kernel/C-srcu-mb-*.litmus.
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions