diff options
| author | Liam R. Howlett <[email protected]> | 2023-07-24 14:31:55 -0400 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-08-18 10:12:50 -0700 |
| commit | 17983dc617837a588a52848ab4034d8efa6c1fa6 (patch) | |
| tree | 889f63c90352aa40c8360f78fe115cab5305e28b /tools/perf/scripts/python/stackcollapse.py | |
| parent | 0b8bb544b1a7051c9072c26ca03a7840fb9573ad (diff) | |
maple_tree: refine mas_preallocate() node calculations
Calculate the number of nodes based on the pending write action instead
of assuming the worst case.
This addresses a performance regression introduced in platforms that
have longer allocation timing.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Liam R. Howlett <[email protected]>
Cc: Peng Zhang <[email protected]>
Cc: Suren Baghdasaryan <[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