aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorAnkur Arora <[email protected]>2024-12-13 04:06:55 +0000
committerBoqun Feng <[email protected]>2025-02-05 15:01:55 +0000
commitfcf0e25ad4c8d14d2faab4d9a17040f31efce205 (patch)
tree5e8e3598ceb8b0166f46cfd8906eb0f0f952e434 /tools/perf/scripts/python/event_analyzing_sample.py
parentsched: update __cond_resched comment about RCU quiescent states (diff)
downloadkernel-fcf0e25ad4c8d14d2faab4d9a17040f31efce205.tar.gz
kernel-fcf0e25ad4c8d14d2faab4d9a17040f31efce205.zip
rcu: handle unstable rdp in rcu_read_unlock_strict()
rcu_read_unlock_strict() can be called with preemption enabled which can make for an unstable rdp and a racy norm value. Fix this by dropping the preempt-count in __rcu_read_unlock() after the call to rcu_read_unlock_strict(), adjusting the preempt-count check appropriately. Suggested-by: Frederic Weisbecker <[email protected]> Signed-off-by: Ankur Arora <[email protected]> Reviewed-by: Frederic Weisbecker <[email protected]> Signed-off-by: Paul E. McKenney <[email protected]> Signed-off-by: Boqun Feng <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions