diff options
author | 2012-06-19 11:58:27 -0700 | |
---|---|---|
committer | 2012-07-02 12:34:25 -0700 | |
commit | 95f0c1de3e6ed4383cc4b5f52ce4ecfb21026b49 (patch) | |
tree | 8099a405c03d9caabbf8f1752346e0aa0e30ee28 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | rcu: Prevent uninitialized string in RCU CPU stall info (diff) | |
download | wireguard-linux-95f0c1de3e6ed4383cc4b5f52ce4ecfb21026b49.tar.xz wireguard-linux-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 <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions