aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorPeng Zhang <[email protected]>2023-07-11 11:54:42 +0800
committerAndrew Morton <[email protected]>2023-08-18 10:12:22 -0700
commita489539e33c29b469bcd023a32c99078c2597c7c (patch)
treefc2e2652dea79180de335dbd54eec5a8a134004e /tools/perf/scripts/python
parent33af39d0244ce4944ab16728f7b04df9dfc6d365 (diff)
maple_tree: update mt_validate()
Instead of using mas_first_entry() to find the leftmost leaf, use a simple loop instead. Remove an unneeded check for root node. To make the error message more accurate, check pivots first and then slots, because checking slots depend on the node limit pivot to break the loop. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Peng Zhang <[email protected]> Tested-by: Geert Uytterhoeven <[email protected]> Reviewed-by: Liam R. Howlett <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions