Re: [PATCH] memcg: replace memcg ID idr with xarray
From: Matthew Wilcox
Date: Fri Aug 09 2024 - 16:06:33 EST
On Fri, Aug 09, 2024 at 10:26:18AM -0700, Shakeel Butt wrote:
> At the moment memcg IDs are managed through IDR which requires external
> synchronization mechanisms and makes the allocation code a bit awkward.
> Let's switch to xarray and make the code simpler.
>
> Suggested-by: Matthew Wilcox <willy@xxxxxxxxxxxxx>
> Signed-off-by: Shakeel Butt <shakeel.butt@xxxxxxxxx>
Looks great.
Reviewed-by: Matthew Wilcox (Oracle) <willy@xxxxxxxxxxxxx>