]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5a603dd81b3e66e30255f2a11d7ed83030812736
tree4f5b41bc344dc4ac881869b5eaf8404823a477db
parent56faa4235802393d04cdc49884249f9400347a5d
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