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

rcutorture: Abstract read-lock-held checks



This commit adds a (*readlock_held)() function pointer to the
rcu_torture_ops structure in order to make the rcu_torture_one_read()
function's rcu_dereference_check() lockdep expression more appropriate
for a given run.

Signed-off-by: default avatarPaul E. McKenney <paulmck@kernel.org>
parent e9b800db
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment