Skip to content

Commit 4569cf6

Browse files
paulmckrcuurezki
authored andcommitted
rcutorture: Add ->cond_sync_exp_full function to rcu_ops structure
The rcu_ops structure currently lacks a ->cond_sync_exp_full function, which prevents testign of conditional full-state polled grace periods. This commit therefore adds them, enabling testing this option. Signed-off-by: Paul E. McKenney <paulmck@kernel.org> Signed-off-by: Uladzislau Rezki (Sony) <urezki@gmail.com>
1 parent 7b6c164 commit 4569cf6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

kernel/rcu/rcutorture.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -577,6 +577,7 @@ static struct rcu_torture_ops rcu_ops = {
577577
.start_gp_poll_exp_full = start_poll_synchronize_rcu_expedited_full,
578578
.poll_gp_state_exp = poll_state_synchronize_rcu,
579579
.cond_sync_exp = cond_synchronize_rcu_expedited,
580+
.cond_sync_exp_full = cond_synchronize_rcu_expedited_full,
580581
.call = call_rcu_hurry,
581582
.cb_barrier = rcu_barrier,
582583
.fqs = rcu_force_quiescent_state,

0 commit comments

Comments
 (0)