aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorPeng Zhang <[email protected]>2023-05-24 11:12:43 +0800
committerAndrew Morton <[email protected]>2023-06-09 16:25:45 -0700
commitc6fc9e4a5c505228032fa645e32341d243d51959 (patch)
treead6c6759495b740e1ad0685067d135a34bfc40cd /tools/perf/scripts/python/event_analyzing_sample.py
parent8c995a631474a85c656e9237f868e2ddf87910c0 (diff)
maple_tree: add mas_wr_new_end() to calculate new_end accurately
The previous new_end calculation is inaccurate, because it assumes that two new pivots must be added (this is inaccurate), and sometimes it will miss the fast path and enter the slow path. Add mas_wr_new_end() to accurately calculate new_end to make the conditions for entering the fast path more accurate. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Peng Zhang <[email protected]> Reviewed-by: Liam R. Howlett <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions