Re: [PATCH 0/3] rust: xarray: add `insert` and `reserve`
From: Janne Grunau
Date: Sat Jul 12 2025 - 15:42:57 EST
On Tue, Jul 01, 2025 at 12:27:16PM -0400, Tamir Duberstein wrote:
> Please see individual patches.
>
> Signed-off-by: Tamir Duberstein <tamird@xxxxxxxxx>
> ---
> Tamir Duberstein (3):
> rust: xarray: use the prelude
> rust: xarray: implement Default for AllocKind
> rust: xarray: add `insert` and `reserve`
>
> include/linux/xarray.h | 2 +
> lib/xarray.c | 28 ++-
> rust/helpers/xarray.c | 5 +
> rust/kernel/xarray.rs | 460 +++++++++++++++++++++++++++++++++++++++++++++++--
> 4 files changed, 472 insertions(+), 23 deletions(-)
thanks, series is tested with the asahi driver and works as expected.
Usage is limited to ::reserve_limits() and ::fill() of the reservation
so only covering a part of the change.
Whole series
Tested-by: Janne Grunau <j@xxxxxxxxxx>
Reviewed-by: Janne Grunau <j@xxxxxxxxxx>
Janne