summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@kernel.org>2026-09-02 08:30:38 -0700
committerPaul E. McKenney <paulmck@kernel.org>2026-10-12 16:50:39 -0700
commit494fa5fcb1de0a1d3b7f864db35877ad552f39ad (patch)
tree7ffc65f138e2ac3d71084c2f96cf3ac72176172c /tools/perf/scripts/python/export-to-sqlite.py
parentf8d95888093348be1235815946359f9cbc2f7012 (diff)
srcutree: Warn if Tiny SRCU readers are preempted
The fastpath of synchronize_srcu_atomic() should always be taken because readers always disable preemption. Therefore, the fact that synchronize_srcu_atomic() is running at all should mean that all readers have ended. But there are always bugs. And responding to a usage bug with a too-short SRCU grace period, and thus possibly corrupting memory is at best a sadistic response so such a bug. For this reason, synchronize_srcu_atomic() explicitly waits for readers. Except that it does so silently, possibly failing to flag this bug. This commit therefore adds a splat if synchronize_srcu_atomic() fails to take the early exit. Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions