diff options
author | Paul E. McKenney <paulmck@kernel.org> | 2023-01-29 09:41:44 -0800 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2023-03-22 12:02:21 -0700 |
commit | 02bae7a24257947fe95fcca80c78e6cb602e94bf (patch) | |
tree | 2c8cade39b72d52e748157c284c7b47174879058 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
parent | dd409de256333899b2632c769dc798b7db537397 (diff) |
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/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions