From: Paul E. McKenney Date: Tue, 19 Jun 2012 18:58:27 +0000 (-0700) Subject: rcu: Disable preemption in rcu_blocking_is_gp() X-Git-Tag: v3.6-rc1~168^2^2~2^3~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=95f0c1de3e6ed4383cc4b5f52ce4ecfb21026b49;p=pandora-kernel.git rcu: Disable preemption in rcu_blocking_is_gp() It is time to optimize CONFIG_TREE_PREEMPT_RCU's synchronize_rcu() for uniprocessor optimization, which means that rcu_blocking_is_gp() can no longer rely on RCU read-side critical sections having disabled preemption. This commit therefore disables preemption across rcu_blocking_is_gp()'s scan of the cpu_online_mask. (Updated from previous version to fix embarrassing bug spotted by Wu Fengguang.) Signed-off-by: Paul E. McKenney --- Reading git-diff-tree failed