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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment