diff options
| author | Peng Zhang <[email protected]> | 2023-07-11 11:54:42 +0800 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-08-18 10:12:22 -0700 |
| commit | a489539e33c29b469bcd023a32c99078c2597c7c (patch) | |
| tree | fc2e2652dea79180de335dbd54eec5a8a134004e /tools/perf/scripts/python/task-analyzer.py | |
| parent | 33af39d0244ce4944ab16728f7b04df9dfc6d365 (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/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions