Re: [PATCH] memcg: replace memcg ID idr with xarray
From: Roman Gushchin
Date: Fri Aug 09 2024 - 13:40:38 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>
Sweet!
Reviewed-by: Roman Gushchin <roman.gushchin@xxxxxxxxx>