Re: [PATCH v8] staging: unisys: visorhba: Convert module from IDR to XArray

From: Dan Carpenter
Date: Tue May 04 2021 - 11:04:59 EST


On Tue, May 04, 2021 at 05:01:25PM +0200, Fabio M. De Francesco wrote:
> Converted visorhba from IDR to XArray. The abstract data type XArray is
> more memory-efficient, parallelizable and cache friendly. It takes
> advantage of RCU to perform lookups without locking. Furthermore, IDR is
> deprecated because XArray has a better (cleaner and more consistent)
> API.
>
> Signed-off-by: Fabio M. De Francesco <fmdefrancesco@xxxxxxxxx>

Thanks! Looks good to me.

Reviewed-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>

regards,
dan carpenter