linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH 0/2] rust: add support for maple trees
@ 2025-04-05  6:01 Andrew Ballance
  2025-04-05  6:01 ` [RFC PATCH 1/2] maple_tree: add __mtree_insert_range function Andrew Ballance
  2025-04-05  6:01 ` [RFC PATCH 2/2] rust: add maple tree abstractions Andrew Ballance
  0 siblings, 2 replies; 11+ messages in thread
From: Andrew Ballance @ 2025-04-05  6:01 UTC (permalink / raw)
  To: Liam.Howlett, ojeda, alex.gaynor, boqun.feng, gary, bjorn3_gh,
	benno.lossin, a.hindborg, aliceryhl, tmgross, dakr
  Cc: akpm, gregkh, wedsonaf, brauner, andrewjballance,
	dingxiangfei2009, linux-kernel, maple-tree, linux-mm,
	rust-for-linux

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



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2025-04-14 18:27 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-04-05  6:01 [RFC PATCH 0/2] rust: add support for maple trees Andrew Ballance
2025-04-05  6:01 ` [RFC PATCH 1/2] maple_tree: add __mtree_insert_range function Andrew Ballance
2025-04-05 15:22   ` Matthew Wilcox
2025-04-05 18:38     ` Boqun Feng
2025-04-06  9:30     ` Andrew Ballance
2025-04-05  6:01 ` [RFC PATCH 2/2] rust: add maple tree abstractions Andrew Ballance
2025-04-05 15:23   ` Miguel Ojeda
2025-04-07 13:59   ` Liam R. Howlett
2025-04-07 20:02     ` Andrew Ballance
2025-04-08  1:36       ` Liam R. Howlett
2025-04-14 18:27         ` Danilo Krummrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox