Re: [PATCH RFC v2] rust: rxarray: add rust xarray support

From: Matthew Wilcox

Date: Tue Oct 06 2026 - 09:42:43 EST


On Mon, Oct 05, 2026 at 03:37:30PM +0200, Daniel Gomez wrote:
> From: Daniel Gomez <da.gomez@xxxxxxxxxxx>
>
> Add Rust XArray support.
>
> This is the Rust implementation of the XArray lib/xarray.c. As of now,
> it supports basic functionality: store, load, load_mut and erase.
>
> Reviewed-by: Andreas Hindborg <a.hindborg@xxxxxxxxxx>
> Signed-off-by: Daniel Gomez <da.gomez@xxxxxxxxxxx>
> ---
> As discussed at LPC26, this is the version of the Rust XArray that is
> ready to merge for testing and evaluating purposes following the Rust
> reference implementation rule (experimental) [1]. Next, we will make
> progress following the roadmap suggested in v1.
>
> For the motivation, see v1 link below in the changelog.
>
> A branch with the patches can be found here [2].
>
> Link: https://rust-for-linux.com/rust-reference-drivers [1]
> Link: https://git.kernel.org/pub/scm/linux/kernel/git/da.gomez/linux.git/log/?h=rxarray-next [2]

Reviewed-by: Matthew Wilcox (Oracle) <willy@xxxxxxxxxxxxx>