Skip to content

Commit 78d263a

Browse files
joelagnelchantra
authored andcommitted
rcu/sync: Use call_rcu_flush() instead of call_rcu
call_rcu() changes to save power will slow down rcu sync. Use the call_rcu_flush() API instead which reverts to the old behavior. Signed-off-by: Joel Fernandes (Google) <[email protected]> Signed-off-by: Paul E. McKenney <[email protected]>
1 parent 7ecf0ad commit 78d263a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel/rcu/sync.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ static void rcu_sync_func(struct rcu_head *rhp);
4444

4545
static void rcu_sync_call(struct rcu_sync *rsp)
4646
{
47-
call_rcu(&rsp->cb_head, rcu_sync_func);
47+
call_rcu_flush(&rsp->cb_head, rcu_sync_func);
4848
}
4949

5050
/**

0 commit comments

Comments
 (0)