From: Ye Liu <ye.liu@linux.dev>
To: Michal Hocko <mhocko@suse.com>
Cc: Andrew Morton <akpm@linux-foundation.org>,
Ye Liu <liuye@kylinos.cn>, David Rientjes <rientjes@google.com>,
Shakeel Butt <shakeel.butt@linux.dev>,
linux-mm@kvack.org, linux-kernel@vger.kernel.org
Subject: Re: [RFC PATCH] mm/oom_kill: dump top 5 memory consumers by RSS in OOM report
Date: Thu, 13 Aug 2026 17:48:53 +0800 [thread overview]
Message-ID: <58bf1590-25ee-4543-b07d-75465cf13546@linux.dev> (raw)
In-Reply-To: <an18ZbYWit7oiwHl@tiehlicka>
在 2026/8/13 16:12, Michal Hocko 写道:
> On Tue 11-08-26 14:29:24, Ye Liu wrote:
>> From: Ye Liu <liuye@kylinos.cn>
>>
>> When the OOM killer triggers, dump_tasks() prints every task's memory
>> state but in no particular order. On systems with hundreds of
>> processes, identifying the heaviest memory consumers requires manual
>> log post-processing.
>
> Yes, but why is that a problem? It should be a pretty easy script, no?
I think I've realized that problems that can be solved in user space
shouldn't burden the kernel. Thank you.
--
Thanks,
Ye Liu
prev parent reply other threads:[~2026-08-13 9:49 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-11 6:29 [RFC PATCH] mm/oom_kill: dump top 5 memory consumers by RSS in OOM report Ye Liu
2026-08-13 8:12 ` Michal Hocko
2026-08-13 9:48 ` Ye Liu [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=58bf1590-25ee-4543-b07d-75465cf13546@linux.dev \
--to=ye.liu@linux.dev \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=liuye@kylinos.cn \
--cc=mhocko@suse.com \
--cc=rientjes@google.com \
--cc=shakeel.butt@linux.dev \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.