diff options
author | Joel Fernandes (Google) <joel@joelfernandes.org> | 2022-10-16 18:23:00 +0200 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2022-11-29 23:04:33 +0100 |
commit | 723df859d8bba948ff2eb08eba32ab433acf7c9c (patch) | |
tree | 372f94e82b829d68e8ff6a2820fa7f0e0a92c5db /kernel/rcu/rcuscale.c | |
parent | rcu/sync: Use call_rcu_hurry() instead of call_rcu (diff) | |
download | linux-723df859d8bba948ff2eb08eba32ab433acf7c9c.tar.xz linux-723df859d8bba948ff2eb08eba32ab433acf7c9c.zip |
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>
Diffstat (limited to 'kernel/rcu/rcuscale.c')
-rw-r--r-- | kernel/rcu/rcuscale.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/rcu/rcuscale.c b/kernel/rcu/rcuscale.c index 3baded807a61..91fb5905a008 100644 --- a/kernel/rcu/rcuscale.c +++ b/kernel/rcu/rcuscale.c @@ -176,7 +176,7 @@ static struct rcu_scale_ops rcu_ops = { .get_gp_seq = rcu_get_gp_seq, .gp_diff = rcu_seq_diff, .exp_completed = rcu_exp_batches_completed, - .async = call_rcu, + .async = call_rcu_hurry, .gp_barrier = rcu_barrier, .sync = synchronize_rcu, .exp_sync = synchronize_rcu_expedited, |