Re: [PATCH v3] mm: memcontrol: Don't flood OOM messages with no eligible task.

From: Michal Hocko
Date: Thu Oct 18 2018 - 03:56:16 EST


On Thu 18-10-18 15:10:18, Sergey Senozhatsky wrote:
[...]
> and let's hear from MM people what they can suggest.
>
> Michal, Andrew, Johannes, any thoughts?

I have already stated my position. Let's not reinvent the wheel and use
the standard printk throttling. If there are cases where oom reports
cause more harm than good I am open to add a knob to allow disabling it
altogether (it can be even fine grained one to control whether to dump
show_mem, task_list etc.).

But please let's stop this dubious one-off approaches.
--
Michal Hocko
SUSE Labs