[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4c956479.1572.175964b555a.Coremail.sh_def@163.com>
Date: Thu, 5 Nov 2020 10:45:20 +0800 (CST)
From: 苏辉 <sh_def@....com>
To: "Roman Gushchin" <guro@...com>
Cc: hannes@...xchg.org, mhocko@...nel.org, vdavydov.dev@...il.com,
akpm@...ux-foundation.org, cgroups@...r.kernel.org,
linux-mm@...ck.org, linux-kernel@...r.kernel.org
Subject: Re:Re: [PATCH] mm/memcontrol: replace '== root_mem_cgroup' with
mem_cgroup_is_root
At 2020-11-05 06:46:22, "Roman Gushchin" <guro@...com> wrote:
>On Wed, Nov 04, 2020 at 11:14:57PM +0800, Hui Su wrote:
>> We have supplied the inline func: mem_cgroup_is_root().
>> So we may use mem_cgroup_is_root() instead of using
>> 'memcg == root_mem_cgroup' or 'memcg != root_mem_cgroup'
>> directly, which is more readable.
>
>Most of these comparisons will go away soon:
>https://lkml.org/lkml/2020/10/21/612 (this is
>an rfc version, I'll send an updated version soon).
>
>Thanks!
Yeah, thanks.
Please ignore this change.
Powered by blists - more mailing lists