aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorLai Jiangshan <[email protected]>2019-11-01 11:06:22 +0000
committerPaul E. McKenney <[email protected]>2020-01-24 18:27:33 +0000
commit2eeba5838fd8c5e19bb91e25624116936348e7af (patch)
tree2b353e5078dbf4b377b776924771983cb70fbb77 /tools/perf/scripts/python/event_analyzing_sample.py
parentrcu: Rename some instance of CONFIG_PREEMPTION to CONFIG_PREEMPT_RCU (diff)
downloadkernel-2eeba5838fd8c5e19bb91e25624116936348e7af.tar.gz
kernel-2eeba5838fd8c5e19bb91e25624116936348e7af.zip
rcu: Clear .exp_hint only when deferred quiescent state has been reported
Currently, the .exp_hint flag is cleared in rcu_read_unlock_special(), which works, but which can also prevent subsequent rcu_read_unlock() calls from helping expedite the quiescent state needed by an ongoing expedited RCU grace period. This commit therefore defers clearing of .exp_hint from rcu_read_unlock_special() to rcu_preempt_deferred_qs_irqrestore(), thus ensuring that intervening calls to rcu_read_unlock() have a chance to help end the expedited grace period. Signed-off-by: Lai Jiangshan <[email protected]> Signed-off-by: Paul E. McKenney <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions