Re: [RFC PATCH] mm/oom_kill: show oom eligibility when displaying the current memory state of all tasks

From: Tetsuo Handa
Date: Fri Jun 11 2021 - 20:23:39 EST


On 2021/06/12 2:42, Waiman Long wrote:
> A minor nit:
>
> "oom eligible?" has 13 characters. The field width is 15. Maybe you should pad 2 more spaces to make the proper alignment.

Maybe single character (e.g. 'S' for OOM_SCORE_ADJ_MIN, 'R' for MMF_OOM_SKIP, 'V' for in_vfork(),
none for eligible) is better because dump_task() might print many hundreds of lines?