Skip to content
Commit 02bae7a2 authored by Paul E. McKenney's avatar Paul E. McKenney
Browse files

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: default avatarPaul E. McKenney <paulmck@kernel.org>
parent dd409de2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment