aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorSidhartha Kumar <[email protected]>2024-08-14 12:19:33 -0400
committerAndrew Morton <[email protected]>2024-09-01 20:26:15 -0700
commit7e093834ed8c71361bae556f2c1efc2bf2e33971 (patch)
treec36d1453cea996d32dfcb103cd641a050d3f55a9 /tools/perf/scripts/python
parent3cd9e92e009de9a036cbf9ec27bad33367fca6f3 (diff)
maple_tree: preallocate nodes in mas_erase()
Use mas_wr_preallocate() in mas_erase() to preallocate enough nodes to complete the erase. Add error handling by skipping the store if the preallocation lead to some error besides no memory. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Sidhartha Kumar <[email protected]> Cc: Liam R. Howlett <[email protected]> Cc: Matthew Wilcox (Oracle) <[email protected]> Cc: Suren Baghdasaryan <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions