aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorLiam R. Howlett <[email protected]>2023-05-18 10:55:32 -0400
committerAndrew Morton <[email protected]>2023-06-09 16:25:32 -0700
commitca80f610045d3fe57c1b43909c79d0c51badca27 (patch)
treee3743c9560c8e934dd15e0431edaea1ec309e98c /tools/perf/scripts/python/task-analyzer.py
parent15c0c60b8cee4a6db263585520f994654429fac3 (diff)
maple_tree: try harder to keep active node after mas_next()
Clean up the mas_next() call to try and keep a node reference when possible. This will avoid re-walking the tree in most cases. Also clean up the single entry tree handling to ensure index/last are consistent with what one would expect. (returning NULL with limit of 1-oo). Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Liam R. Howlett <[email protected]> Cc: David Binderman <[email protected]> Cc: Peng Zhang <[email protected]> Cc: Sergey Senozhatsky <[email protected]> Cc: Vernon Yang <[email protected]> Cc: Wei Yang <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions