On Tue, Jul 01, 2025 at 12:27:16PM -0400, Tamir Duberstein wrote:
> Please see individual patches.
>
> Signed-off-by: Tamir Duberstein <tamird@gmail.com>
> ---
> 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@jannau.net>
Reviewed-by: Janne Grunau <j@jannau.net>
Janne