Re: [RFC PATCH] mm, oom: disable dump_tasks by default
From: Michal Hocko
Date: Thu Sep 05 2019 - 10:08:36 EST
On Thu 05-09-19 22:39:47, Tetsuo Handa wrote:
> There is nothing that prevents users from enabling oom_dump_tasks by sysctl.
> But that requires a solution for OOM stalling problem.
You can hardly remove stalling if you are not reducing the amount of
output or get it into a different context. Whether the later is
reasonable is another question but you are essentially losing "at the
OOM event state".
> Since I know how
> difficult to avoid problems caused by printk() flooding, I insist that
> we need "mm,oom: Defer dump_tasks() output." patch.
insisting is not a way to cooperate.