From: Paul E. McKenney Date: Thu, 4 Aug 2011 13:59:03 +0000 (-0700) Subject: rcu: Prevent early boot set_need_resched() from __rcu_pending() X-Git-Tag: v3.2-rc1~165^2^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5c51dd7349d4bb26f845f17f85daa168f5fa03f2;p=pandora-kernel.git rcu: Prevent early boot set_need_resched() from __rcu_pending() There isn't a whole lot of point in poking the scheduler before there are other tasks to switch to. This commit therefore adds a check for rcu_scheduler_fully_active in __rcu_pending() to suppress any pre-scheduler calls to set_need_resched(). The downside of this approach is additional runtime overhead in a reasonably hot code path. Signed-off-by: Paul E. McKenney Signed-off-by: Paul E. McKenney --- Reading git-diff-tree failed