[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240809202325.GA2157603@cmpxchg.org>
Date: Fri, 9 Aug 2024 16:23:25 -0400
From: Johannes Weiner <hannes@...xchg.org>
To: Shakeel Butt <shakeel.butt@...ux.dev>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
Michal Hocko <mhocko@...nel.org>,
Roman Gushchin <roman.gushchin@...ux.dev>,
Muchun Song <muchun.song@...ux.dev>, linux-mm@...ck.org,
linux-kernel@...r.kernel.org,
Meta kernel team <kernel-team@...a.com>, cgroups@...r.kernel.org,
Matthew Wilcox <willy@...radead.org>
Subject: Re: [PATCH] memcg: replace memcg ID idr with xarray
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@...radead.org>
> Signed-off-by: Shakeel Butt <shakeel.butt@...ux.dev>
Nice.
Acked-by: Johannes Weiner <hannes@...xchg.org>
Powered by blists - more mailing lists