Re: [PATCH] memcg: replace memcg ID idr with xarray

From: Muchun Song
Date: Fri Aug 09 2024 - 22:39:51 EST




> On Aug 10, 2024, at 01:26, Shakeel Butt <shakeel.butt@xxxxxxxxx> 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>

Reviewed-by: Muchun Song <muchun.song@xxxxxxxxx>

Thanks.