[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YXbnW/cjgxXQOnpP@carbon.DHCP.thefacebook.com>
Date: Mon, 25 Oct 2021 10:20:27 -0700
From: Roman Gushchin <guro@...com>
To: Muchun Song <songmuchun@...edance.com>
CC: <akpm@...ux-foundation.org>, <mhocko@...nel.org>,
<shakeelb@...gle.com>, <willy@...radead.org>, <hannes@...xchg.org>,
<linux-mm@...ck.org>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] mm: memcontrol: remove the kmem states
On Mon, Oct 25, 2021 at 08:52:59PM +0800, Muchun Song wrote:
> Now the kmem states is only used to indicate whether the kmem is
> offline. However, we can set ->kmemcg_id to -1 to indicate whether
> the kmem is offline. Finally, we can remove the kmem states to
> simplify the code.
>
> Signed-off-by: Muchun Song <songmuchun@...edance.com>
Acked-by: Roman Gushchin <guro@...com>
Nice! These states made the code more complex without a good reason.
Thanks!
Powered by blists - more mailing lists