rcutorture: Suppress pi-lock-across read-unlock testing for Tiny SRCU
authorPaul E. McKenney <paulmck@kernel.org>
Sat, 25 Sep 2021 04:30:26 +0000 (21:30 -0700)
committerPaul E. McKenney <paulmck@kernel.org>
Wed, 1 Dec 2021 01:29:50 +0000 (17:29 -0800)
commit340170fef01b18631128006de03522b671e6e2b5
treeb82c44cbbe16979be13a31a3f619ef37dac66459
parent1c3d53986f744c469f0e0b136b8922c83363bfde
rcutorture: Suppress pi-lock-across read-unlock testing for Tiny SRCU

Because Tiny srcu_read_unlock() directly calls swake_up_one(), lockdep
complains when a pi lock is held across that srcu_read_unlock().
Although this is a lockdep false positive (there is no other CPU to
complete the deadlock cycle), lockdep is what it is at the moment.
This commit therefore prevents rcutorture from holding pi lock across
a Tiny srcu_read_unlock().

Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
kernel/rcu/rcutorture.c