From: Paul E. McKenney Date: Sun, 14 Aug 2011 22:56:54 +0000 (-0700) Subject: rcu: Avoid having just-onlined CPU resched itself when RCU is idle X-Git-Tag: v3.2-rc1~165^2^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=06ae115a1d551cd952d80df06eaf8b5153351875;p=pandora-kernel.git rcu: Avoid having just-onlined CPU resched itself when RCU is idle CPUs set rdp->qs_pending when coming online to resolve races with grace-period start. However, this means that if RCU is idle, the just-onlined CPU might needlessly send itself resched IPIs. Adjust the online-CPU initialization to avoid this, and also to correctly cause the CPU to respond to the current grace period if needed. Signed-off-by: Paul E. McKenney Tested-by: Josh Boyer Tested-by: Christian Hoffmann --- Reading git-diff-tree failed