From: Waiman Long <longman@redhat.com>
To: Gang Li <ligang.bdlg@bytedance.com>
Cc: rientjes@google.com, linux-kernel@vger.kernel.org,
Zefan Li <lizefan.x@bytedance.com>,
cgroups@vger.kernel.org
Subject: Re: [PATCH v2] mm: oom: introduce cpuset oom
Date: Thu, 6 Apr 2023 11:53:27 -0400 [thread overview]
Message-ID: <36b96b9c-d08a-e97c-05ff-152d671880e6@redhat.com> (raw)
In-Reply-To: <cc77d706-7baf-951b-13a5-3470c2b1bba9@bytedance.com>
On 4/6/23 09:02, Gang Li wrote:
> On 2023/4/5 01:24, Waiman Long wrote:
>>
>> You will also need to take cpuset_rwsem to make sure that cpusets are
>> stable. BTW, the cpuset_cgroup_scan_tasks() name is kind of
>> redundant. I will suggest you just name it as cpuset_scan_tasks().
>> Please also add a
>
> mem cgroup oom use `mem_cgroup_scan_tasks`.
> How about keep `cpuset_cgroup_scan_tasks` for naming consistency?
The "memory cgroup" term is used to identify the code related to memory
cgroup controller. Cpuset, on the other hand, is a well known cgroup
controller. Cpuset cgroup is not a term that people will normally use.
That is why this name is awkward.
Cheers,
Longman
next prev parent reply other threads:[~2023-04-06 15:54 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-04 11:55 Gang Li
2023-04-04 14:31 ` Michal Hocko
2023-04-04 17:24 ` Waiman Long
2023-04-06 3:04 ` Gang Li
2023-04-06 13:02 ` Gang Li
2023-04-06 15:53 ` Waiman Long [this message]
2023-04-06 3:22 ` Gang Li
2023-04-06 8:30 ` Michal Hocko
2023-04-06 8:33 ` Gang Li
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=36b96b9c-d08a-e97c-05ff-152d671880e6@redhat.com \
--to=longman@redhat.com \
--cc=cgroups@vger.kernel.org \
--cc=ligang.bdlg@bytedance.com \
--cc=linux-kernel@vger.kernel.org \
--cc=lizefan.x@bytedance.com \
--cc=rientjes@google.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®