From: Paul E. McKenney Date: Fri, 19 Mar 2010 04:36:51 +0000 (-0700) Subject: rcu: substitute set_need_resched for sending resched IPIs X-Git-Tag: v2.6.35-rc1~524^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d25eb9442bb2c38c1e742f0fa764d7132d72593f;p=pandora-kernel.git 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" --- Reading git-diff-tree failed