[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250405060154.1550858-1-andrewjballance@gmail.com>
Date: Sat, 5 Apr 2025 01:01:52 -0500
From: Andrew Ballance <andrewjballance@...il.com>
To: Liam.Howlett@...cle.com,
ojeda@...nel.org,
alex.gaynor@...il.com,
boqun.feng@...il.com,
gary@...yguo.net,
bjorn3_gh@...tonmail.com,
benno.lossin@...ton.me,
a.hindborg@...nel.org,
aliceryhl@...gle.com,
tmgross@...ch.edu,
dakr@...nel.org
Cc: akpm@...ux-foundation.org,
gregkh@...uxfoundation.org,
wedsonaf@...il.com,
brauner@...nel.org,
andrewjballance@...il.com,
dingxiangfei2009@...il.com,
linux-kernel@...r.kernel.org,
maple-tree@...ts.infradead.org,
linux-mm@...ck.org,
rust-for-linux@...r.kernel.org
Subject: [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
--
2.49.0
Powered by blists - more mailing lists