diff options
| author | Peng Zhang <[email protected]> | 2023-11-20 15:09:34 +0800 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-12-12 10:57:00 -0800 |
| commit | 3f05fcdebf2979569802e1ee94cf4c7d887546e2 (patch) | |
| tree | 34963ea9aa8f725a5a27ac31dfdca3773b96e8fd /tools/perf/scripts/python/stackcollapse.py | |
| parent | 2e783f0c1a0d9017209f2ed243960924ebb602cb (diff) | |
maple_tree: avoid ascending when mas->min is also the parent's minimum
When the child node is the first child of its parent node, mas->min does
not need to be updated. This can reduce the number of ascending times
in some cases.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Peng Zhang <[email protected]>
Reviewed-by: Liam R. Howlett <[email protected]>
Cc: Dan Carpenter <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions