From: Paul E. McKenney Date: Sat, 6 Aug 2011 05:39:02 +0000 (-0700) Subject: rcu: Eliminate in_irq() checks in rcu_enter_nohz() X-Git-Tag: v3.2-rc1~165^2^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=717f98f0f87c16c1e5768ac8f67c27f3d3535a25;p=pandora-kernel.git rcu: Eliminate in_irq() checks in rcu_enter_nohz() The in_irq() check in rcu_enter_nohz() is redundant because if we really are in an interrupt, the attempt to re-enter dyntick-idle mode will invoke rcu_needs_cpu() in any case, which will force the check for RCU callbacks. So this commit removes the check along with the set_need_resched(). Suggested-by: Frederic Weisbecker Signed-off-by: Paul E. McKenney --- Reading git-diff-tree failed