diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2012-06-19 11:58:27 -0700 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2012-07-02 12:34:25 -0700 |
commit | 95f0c1de3e6ed4383cc4b5f52ce4ecfb21026b49 (patch) | |
tree | 8099a405c03d9caabbf8f1752346e0aa0e30ee28 /net/atm | |
parent | 1c17e4d4437d8045a596d9f06c1558dc09e2b372 (diff) | |
download | linux-95f0c1de3e6ed4383cc4b5f52ce4ecfb21026b49.tar.gz |
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 <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'net/atm')
0 files changed, 0 insertions, 0 deletions