Skip to content

RFC rust: add support for maple trees

Andrew Ballance linux-mm lkml rust-for-linux 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2maple_tree: add __mtree_insert_range functioninclude/linux/maple_tree.h lib/maple_tree.c+39 -03 replies
2/2rust: add maple tree abstractionsrust/helpers/helpers.c rust/helpers/maple_tree.c rust/kernel/lib.rs +1 more+367 -05 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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

Signature · 1 line
2.49.0