diff options
| author | Liam R. Howlett <[email protected]> | 2023-05-18 10:55:34 -0400 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-06-09 16:25:33 -0700 |
| commit | ba9972121ab26a53c917ddb141738aa0e559685e (patch) | |
| tree | af1a7389dd1031a076457157e287d3029e6afe0a /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 39193685d585e573592e58204c445bfc5c3cafb3 (diff) | |
maple_tree: revise limit checks in mas_empty_area{_rev}()
Since the maple tree is inclusive in range, ensure that a range of 1 (min
= max) works for searching for a gap in either direction, and make sure
the size is at least 1 but not larger than the delta between min and max.
This commit also updates the testing. Unfortunately there isn't a way to
safely update the tests and code without a test failure.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Liam R. Howlett <[email protected]>
Suggested-by: Peng Zhang <[email protected]>
Cc: David Binderman <[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/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions