diff options
author | Joel Fernandes (Google) <joel@joelfernandes.org> | 2022-10-16 16:22:59 +0000 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2022-11-29 14:04:33 -0800 |
commit | 7651d6b25086656eacfdd8356bfe3a21c0c2d79d (patch) | |
tree | 57352f1470b7c8eacab3ca252bb9095235e499ca /kernel/rcu | |
parent | 084e04fff1601787a121c225502716b8c0314433 (diff) | |
download | linux-7651d6b25086656eacfdd8356bfe3a21c0c2d79d.tar.bz2 |
rcu/sync: Use call_rcu_hurry() instead of call_rcu
call_rcu() changes to save power will slow down rcu sync. Use the
call_rcu_hurry() API instead which reverts 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')
-rw-r--r-- | kernel/rcu/sync.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/rcu/sync.c b/kernel/rcu/sync.c index 5cefc702158f..e550f97779b8 100644 --- a/kernel/rcu/sync.c +++ b/kernel/rcu/sync.c @@ -44,7 +44,7 @@ static void rcu_sync_func(struct rcu_head *rhp); static void rcu_sync_call(struct rcu_sync *rsp) { - call_rcu(&rsp->cb_head, rcu_sync_func); + call_rcu_hurry(&rsp->cb_head, rcu_sync_func); } /** |