Skip to content

Commit 723df85

Browse files
joelagnelpaulmckrcu
authored andcommitted
rcu/rcuscale: Use call_rcu_hurry() 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_hurry() API instead to revert to the old behavior. [ paulmck: Apply s/call_rcu_flush/call_rcu_hurry/ feedback from Tejun Heo. ] Signed-off-by: Joel Fernandes (Google) <joel@joelfernandes.org> Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
1 parent 7651d6b commit 723df85

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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_hurry,
180180
.gp_barrier = rcu_barrier,
181181
.sync = synchronize_rcu,
182182
.exp_sync = synchronize_rcu_expedited,

0 commit comments

Comments
 (0)