Re: [PATCH] mm: memcontrol: remove the kmem states

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxx>

Acked-by: Roman Gushchin <guro@xxxxxx>

Nice! These states made the code more complex without a good reason.

Thanks!




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux