diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2010-03-19 05:36:51 +0100 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2010-05-10 20:08:31 +0200 |
commit | d25eb9442bb2c38c1e742f0fa764d7132d72593f (patch) | |
tree | 0a2604a3b61ce7a0868c021ac945d9826e0d88f1 /Makefile | |
parent | rcu: optionally leave lockdep enabled after RCU lockdep splat (diff) | |
download | linux-d25eb9442bb2c38c1e742f0fa764d7132d72593f.tar.xz linux-d25eb9442bb2c38c1e742f0fa764d7132d72593f.zip |
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: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions