Skip to content
Commit ed7d2f1a authored by Paul E. McKenney's avatar Paul E. McKenney
Browse files

rcutorture: Allow per-RCU-flavor polled double-GP check



Only vanilla RCU needs a double grace period for its compressed
polled grace-period old-state cookie.  This commit therefore adds an
rcu_torture_ops per-flavor function ->poll_need_2gp to allow this check
to be adapted to the RCU flavor under test.  A NULL pointer for this
function says that doubled grace periods are never needed.

Signed-off-by: default avatarPaul E. McKenney <paulmck@kernel.org>
parent ccb42229
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment