summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorYu Kuai <yukuai@fygo.io>2026-08-03 03:50:31 +0800
committerYu Kuai <yukuai@fygo.io>2026-08-07 14:43:35 +0800
commit3fa5499f32f16133e32c9fb696bc6c0a07483396 (patch)
tree44de6d994649acda811d30a13f6f364b33b5fad7 /tools/perf/scripts/python/task-analyzer.py
parent9b2d455305f1f9f89ca41865fe625e31353e0bc8 (diff)
md/md-llbitmap: clamp state-machine walks to tracked bits
llbitmap_state_machine() can be called with an end bit beyond llbitmap->chunks. In particular, llbitmap_cond_end_sync() passes sector >> chunkshift, and sector can reach the tracked boundary exactly. Clamp the state-machine range to llbitmap->chunks so it cannot walk past the tracked bitmap. Tested-by: Mykola Marzhan <mykola@meshstor.io> Link: https://patch.msgid.link/20260802195038.164272-23-yukuai@kernel.org Signed-off-by: Yu Kuai <yukuai@fygo.io>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions