projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
084e04f
)
rcu/sync: Use call_rcu_hurry() instead of call_rcu
author
Joel Fernandes (Google)
<joel@joelfernandes.org>
Sun, 16 Oct 2022 16:22:59 +0000
(16:22 +0000)
committer
Paul E. McKenney
<paulmck@kernel.org>
Tue, 29 Nov 2022 22:04:33 +0000
(14:04 -0800)
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>
kernel/rcu/sync.c
patch
|
blob
|
history
diff --git
a/kernel/rcu/sync.c
b/kernel/rcu/sync.c
index 5cefc702158fefe6c0d8e1d1dba054501cd89183..e550f97779b8dc82c950bcf92e0676339688c26e 100644
(file)
--- 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);
}
/**