diff options
author | Wedson Almeida Filho <[email protected]> | 2024-08-22 16:37:55 +0000 |
---|---|---|
committer | Miguel Ojeda <[email protected]> | 2024-08-31 17:36:19 +0200 |
commit | cf5397d1776489e1c66b7db01f6a58c431ab08f1 (patch) | |
tree | a751eacaa160faa4737ea12e6a549e5b74a9eb83 /tools/perf/scripts/python/task-analyzer.py | |
parent | e601f1bb8e859758289b1c52503bc626168fba59 (diff) |
rust: rbtree: add mutable iterator
Add mutable Iterator implementation for `RBTree`,
allowing iteration over (key, value) pairs in key order. Only values are
mutable, as mutating keys implies modifying a node's position in the tree.
Mutable iteration is used by the binder driver during shutdown to
clean up the tree maintained by the "range allocator" [1].
Link: https://lore.kernel.org/rust-for-linux/[email protected]/ [1]
Signed-off-by: Wedson Almeida Filho <[email protected]>
Reviewed-by: Alice Ryhl <[email protected]>
Tested-by: Alice Ryhl <[email protected]>
Reviewed-by: Boqun Feng <[email protected]>
Reviewed-by: Benno Lossin <[email protected]>
Signed-off-by: Matt Gilbride <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Miguel Ojeda <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions