[RFC PATCH 0/2] rust: add support for maple trees

Andrew Ballance andrewjballance at gmail.com
Fri Apr 4 23:01:52 PDT 2025


This RFC adds an initial implementation of maple tree abstractions.
I would like any feedback possible.

I would like to upstream this eventually but, it's probably going to
be a bit until there is a user.

Andrew Ballance (2):
  maple_tree: add __mtree_insert_range function
  rust: add maple tree abstractions

 include/linux/maple_tree.h |   2 +
 lib/maple_tree.c           |  37 ++++
 rust/helpers/helpers.c     |   1 +
 rust/helpers/maple_tree.c  |  25 +++
 rust/kernel/lib.rs         |   1 +
 rust/kernel/maple_tree.rs  | 340 +++++++++++++++++++++++++++++++++++++
 6 files changed, 406 insertions(+)
 create mode 100644 rust/helpers/maple_tree.c
 create mode 100644 rust/kernel/maple_tree.rs


base-commit: 38fec10eb60d687e30c8c6b5420d86e8149f7557
-- 
2.49.0




More information about the maple-tree mailing list