Skip to content

Commit 57c66e0

Browse files
joelagnelchantra
authored andcommitted
rcu/rcuscale: Use call_rcu_flush() for async reader test
rcuscale uses call_rcu() to queue async readers. With recent changes to save power, the test will have fewer async readers in flight. Use the call_rcu_flush() API instead to revert to the old behavior. Signed-off-by: Joel Fernandes (Google) <[email protected]> Signed-off-by: Paul E. McKenney <[email protected]>
1 parent 71563df commit 57c66e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel/rcu/rcuscale.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ static struct rcu_scale_ops rcu_ops = {
176176
.get_gp_seq = rcu_get_gp_seq,
177177
.gp_diff = rcu_seq_diff,
178178
.exp_completed = rcu_exp_batches_completed,
179-
.async = call_rcu,
179+
.async = call_rcu_flush,
180180
.gp_barrier = rcu_barrier,
181181
.sync = synchronize_rcu,
182182
.exp_sync = synchronize_rcu_expedited,

0 commit comments

Comments
 (0)