]> git.ipfire.org Git - thirdparty/linux.git/commit
torture: Make SRCU lockdep testing use srcu_read_lock_nmisafe()
authorPaul E. McKenney <paulmck@kernel.org>
Fri, 10 Jan 2025 22:34:28 +0000 (14:34 -0800)
committerBoqun Feng <boqun.feng@gmail.com>
Wed, 5 Feb 2025 15:14:40 +0000 (07:14 -0800)
commit6be43acb2a6d2b20038616eed9bc08ef0f962a77
treef38d1029fc31e36ac9fd30ec6e3ced7493e19aef
parent536e8b9b80bc7a0a8e87af2d5fb7fe3e230669ca
torture: Make SRCU lockdep testing use srcu_read_lock_nmisafe()

Recent experience shows that the srcu_read_lock_nmisafe() and
srcu_read_unlock_nmisafe() functions are not sufficiently tested.
This commit therefore causes the torture.sh script's SRCU lockdep testing
to use these two functions.  This will cause these two functions to
be regularly tested by several developers (myself included) who use
torture.sh as an RCU acceptance test.

Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Signed-off-by: Boqun Feng <boqun.feng@gmail.com>
tools/testing/selftests/rcutorture/bin/srcu_lockdep.sh