Skip to content

Commit 599d97e

Browse files
committed
rcutorture: Make "srcud" option also test polled grace-period API
This commit brings the "srcud" (dynamically allocated) SRCU test in line with the "srcu" (statically allocated) test, so that both test the full SRCU polled grace-period API. Signed-off-by: Paul E. McKenney <[email protected]>
1 parent 568035b commit 599d97e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

kernel/rcu/rcutorture.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -709,6 +709,9 @@ static struct rcu_torture_ops srcud_ops = {
709709
.deferred_free = srcu_torture_deferred_free,
710710
.sync = srcu_torture_synchronize,
711711
.exp_sync = srcu_torture_synchronize_expedited,
712+
.get_gp_state = srcu_torture_get_gp_state,
713+
.start_gp_poll = srcu_torture_start_gp_poll,
714+
.poll_gp_state = srcu_torture_poll_gp_state,
712715
.call = srcu_torture_call,
713716
.cb_barrier = srcu_torture_barrier,
714717
.stats = srcu_torture_stats,

0 commit comments

Comments
 (0)