diff options
| author | Paul E. McKenney <[email protected]> | 2012-06-19 18:58:27 +0000 |
|---|---|---|
| committer | Paul E. McKenney <[email protected]> | 2012-07-02 19:34:25 +0000 |
| commit | 95f0c1de3e6ed4383cc4b5f52ce4ecfb21026b49 (patch) | |
| tree | 8099a405c03d9caabbf8f1752346e0aa0e30ee28 /fs/jbd2/commit.c | |
| parent | rcu: Prevent uninitialized string in RCU CPU stall info (diff) | |
| download | kernel-95f0c1de3e6ed4383cc4b5f52ce4ecfb21026b49.tar.gz kernel-95f0c1de3e6ed4383cc4b5f52ce4ecfb21026b49.zip | |
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 <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions
