mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
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: Paul E. McKenney <paulmck@kernel.org>
This commit is contained in:
parent
e9b800db96
commit
a5c095e0e9
1 changed files with 19 additions and 10 deletions
Loading…
Add table
Add a link
Reference in a new issue