rcutorture: Abstract synchronous and polled API testing
authorPaul E. McKenney <paulmck@kernel.org>
Sat, 30 Jul 2022 05:05:17 +0000 (22:05 -0700)
committerPaul E. McKenney <paulmck@kernel.org>
Wed, 31 Aug 2022 12:08:07 +0000 (05:08 -0700)
commitccb42229fb34bc3e93f7aa081da3e78eac68cd27
tree4f5b41bc344dc4ac881869b5eaf8404823a477db
parent3fdefca9b42c8bebe3beea5c1a067c9718ca0fc7
rcutorture: Abstract synchronous and polled API testing

This commit abstracts a do_rtws_sync() function that does synchronous
grace-period testing, but also testing the polled API 25% of the time
each for the normal and full-state variants of the polled API.

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