rcutorture: Verify long-running reader prevents full polling from completing
authorPaul E. McKenney <paulmck@kernel.org>
Wed, 3 Aug 2022 23:40:48 +0000 (16:40 -0700)
committerPaul E. McKenney <paulmck@kernel.org>
Wed, 31 Aug 2022 12:08:07 +0000 (05:08 -0700)
commitf4754ad2922e5a2b08c8aecf33d1ec03d7219fb4
treefa9a43587b7770ede2fb634eec94ff513b89bc1c
parent37d6ade31cf83305495a2875ab5d283e17322032
rcutorture: Verify long-running reader prevents full polling from completing

This commit adds full-state polling checks to accompany the old-style
polling checks in the rcu_torture_one_read() function.  If a polling
cycle within an RCU reader completes, a WARN_ONCE() is triggered.

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