rcutorture: Make preemptible TRACE02 enable lockdep
authorPaul E. McKenney <paulmck@kernel.org>
Tue, 15 Sep 2020 21:33:38 +0000 (14:33 -0700)
committerPaul E. McKenney <paulmck@kernel.org>
Tue, 3 Nov 2020 01:12:42 +0000 (17:12 -0800)
commite1eb075ccf3766860b7aa3f104ca29dcb8a46ed0
tree8648ea107928dcdcb0bca9fef7985b1d88241946
parent3650b228f83adda7e5ee532e2b90429c03f7b9ec
rcutorture: Make preemptible TRACE02 enable lockdep

Currently, the CONFIG_PREEMPT_NONE=y rcutorture TRACE01 rcutorture
scenario enables lockdep.  This limits its ability to find bugs due to
non-preemptible sections of code being RCU readers, and pretty much all
code thus appearing to lockdep to be an RCU reader.  This commit therefore
moves lockdep testing to the CONFIG_PREEMPT=y rcutorture TRACE02 scenario.

Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
tools/testing/selftests/rcutorture/configs/rcu/TRACE01
tools/testing/selftests/rcutorture/configs/rcu/TRACE02