diff options
| author | Peng Zhang <[email protected]> | 2023-10-27 11:38:44 +0800 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-12-10 16:51:33 -0800 |
| commit | 8e50d32c7a89bde896945e4e572ef28ccd87bbf8 (patch) | |
| tree | 8a94fb89ab8d9ee0ed0baca99228a1cee4be6cc1 /tools/perf/scripts | |
| parent | 446e1867e6df3cbdd19af6be8f8f4ed56176adb4 (diff) | |
maple_tree: preserve the tree attributes when destroying maple tree
When destroying maple tree, preserve its attributes and then turn it into
an empty tree. This allows it to be reused without needing to be
reinitialized.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Peng Zhang <[email protected]>
Reviewed-by: Liam R. Howlett <[email protected]>
Cc: Christian Brauner <[email protected]>
Cc: Jonathan Corbet <[email protected]>
Cc: Mateusz Guzik <[email protected]>
Cc: Mathieu Desnoyers <[email protected]>
Cc: Matthew Wilcox <[email protected]>
Cc: Michael S. Tsirkin <[email protected]>
Cc: Mike Christie <[email protected]>
Cc: Nicholas Piggin <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Suren Baghdasaryan <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions