rcutorture: More thoroughly test nested readers
authorPaul E. McKenney <paulmck@kernel.org>
Thu, 23 Sep 2021 03:49:12 +0000 (20:49 -0700)
committerPaul E. McKenney <paulmck@kernel.org>
Wed, 1 Dec 2021 01:29:50 +0000 (17:29 -0800)
commit1c3d53986f744c469f0e0b136b8922c83363bfde
tree001a625cc4405452ea024729fdaa7c7e8bf26760
parent902d82e6299631ec6b6c759ac4b45e44b45cc832
rcutorture: More thoroughly test nested readers

Currently, nested readers occur only when a timer handler interrupts a
reader.  This is rare, and is thus insufficient testing of the transition
between nesting levels.  This commit therefore causes rcutorture nested
readers to be the rule rather than the exception.

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