From: 苏辉 <sh_def@163.com>
To: "Roman Gushchin" <guro@fb.com>
Cc: hannes@cmpxchg.org, mhocko@kernel.org, vdavydov.dev@gmail.com,
akpm@linux-foundation.org, cgroups@vger.kernel.org,
linux-mm@kvack.org, linux-kernel@vger.kernel.org
Subject: Re:Re: [PATCH] mm/memcontrol: replace '== root_mem_cgroup' with mem_cgroup_is_root
Date: Thu, 5 Nov 2020 10:45:20 +0800 (CST) [thread overview]
Message-ID: <4c956479.1572.175964b555a.Coremail.sh_def@163.com> (raw)
In-Reply-To: <20201104224622.GE1938922@carbon.dhcp.thefacebook.com>
At 2020-11-05 06:46:22, "Roman Gushchin" <guro@fb.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.
prev parent reply other threads:[~2020-11-05 3:01 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-04 15:14 Hui Su
2020-11-04 22:46 ` Roman Gushchin
2020-11-05 2:45 ` 苏辉 [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4c956479.1572.175964b555a.Coremail.sh_def@163.com \
--to=sh_def@163.com \
--cc=akpm@linux-foundation.org \
--cc=cgroups@vger.kernel.org \
--cc=guro@fb.com \
--cc=hannes@cmpxchg.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=mhocko@kernel.org \
--cc=vdavydov.dev@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®