diff options
author | Paul E. McKenney <paulmck@kernel.org> | 2021-05-13 14:54:58 -0700 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2021-07-27 11:47:34 -0700 |
commit | 436eef23c41fe10dc34ed19a00caf9f1290a8689 (patch) | |
tree | a1945a22329dd27571a155e7b08f88a4e26f9cee /tools/testing/selftests/bpf/prog_tests/recursion.c | |
parent | 1846a7fa767fbf8cf42d71daf75d51e30e3c8327 (diff) |
tools/memory-model: Add example for heuristic lockless reads
This commit adds example code for heuristic lockless reads, based loosely
on the sem_lock() and sem_unlock() functions.
[ paulmck: Apply Alan Stern and Manfred Spraul feedback. ]
Reported-by: Manfred Spraul <manfred@colorfullife.com>
[ paulmck: Update per Manfred Spraul and Hillf Danton feedback. ]
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/recursion.c')
0 files changed, 0 insertions, 0 deletions