[RFC PATCH 2/2] rust: add maple tree abstractions

Danilo Krummrich dakr at kernel.org
Mon Apr 14 11:27:35 PDT 2025


On Mon, Apr 07, 2025 at 09:36:35PM -0400, Liam R. Howlett wrote:
> No, I don't think it is worth having a rust implementation right now as
> there are no users and I could cause issues on the rust side without
> knowing.

I may have a user for this in the future, but we still need to investigate other
options for this.

If you remember, I'd have loved to use this for DRM GPUVM, but unfortunately
failed since we would need to be able to pre-allocate multiple new entries
upfront, before knowing any details about the entries and before modifying the
tree.

With nova-core we may get another option to use it as VRAM allocator. But as
mentioned, we're still investigating.

- Danilo



More information about the maple-tree mailing list