diff options
author | Joel Fernandes (Google) <joel@joelfernandes.org> | 2022-10-16 19:23:00 +0300 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2022-11-30 01:04:33 +0300 |
commit | 723df859d8bba948ff2eb08eba32ab433acf7c9c (patch) | |
tree | 372f94e82b829d68e8ff6a2820fa7f0e0a92c5db | |
parent | 7651d6b25086656eacfdd8356bfe3a21c0c2d79d (diff) | |
download | linux-723df859d8bba948ff2eb08eba32ab433acf7c9c.tar.xz |
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>
-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, |