diff options
| author | Peng Zhang <[email protected]> | 2023-06-28 15:36:57 +0800 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-08-18 10:12:05 -0700 |
| commit | 64891ba3e51fb841b0af70db029038eb93bd5a43 (patch) | |
| tree | d14d57221858cace723463df41c20f949b2e9649 /tools/perf/scripts/python | |
| parent | 23e9dde0b246d47e4a1942ea50bf7fef63e2d41a (diff) | |
maple_tree: add a fast path case in mas_wr_slot_store()
When expanding a range in two directions, only partially overwriting the
previous and next ranges, the number of entries will not be increased, so
we can just update the pivots as a fast path. However, it may introduce
potential risks in RCU mode, because it updates two pivots. We only
enable it in non-RCU mode.
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')
0 files changed, 0 insertions, 0 deletions