Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit d25eb944 authored by Paul E. McKenney's avatar Paul E. McKenney
Browse files

rcu: substitute set_need_resched for sending resched IPIs



This patch adds a check to __rcu_pending() that does a local
set_need_resched() if the current CPU is holding up the current grace
period and if force_quiescent_state() will be called soon.  The goal is
to reduce the probability that force_quiescent_state() will need to do
smp_send_reschedule(), which sends an IPI and is therefore more expensive
on most architectures.

Signed-off-by: default avatar"Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
parent 2b3fc35f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment