Re: [RFC PATCH] mm/oom_kill: dump top 5 memory consumers by RSS in OOM report

Ye Liu <[email protected]>
Newsgroups org.kvack.linux-mm,org.kernel.vger.linux-kernel
Message-ID <[email protected]>

在 2026/8/13 16:12, Michal Hocko 写道:
> On Tue 11-08-26 14:29:24, Ye Liu wrote:
>> From: Ye Liu <[email protected]>
>>
>> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.