[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <C0B6D310-2EE0-4DCC-B41A-E682C1E018AA@linux.dev>
Date: Sat, 10 Aug 2024 10:38:50 +0800
From: Muchun Song <muchun.song@...ux.dev>
To: Shakeel Butt <shakeel.butt@...ux.dev>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
Johannes Weiner <hannes@...xchg.org>,
Michal Hocko <mhocko@...nel.org>,
Roman Gushchin <roman.gushchin@...ux.dev>,
Linux Memory Management List <linux-mm@...ck.org>,
Linux Kernel Mailing List <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 Aug 10, 2024, at 01:26, Shakeel Butt <shakeel.butt@...ux.dev> 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>
Reviewed-by: Muchun Song <muchun.song@...ux.dev>
Thanks.
Powered by blists - more mailing lists