Re: [PATCH v1] kernel/trace:check the val against the available mem

From: Steven Rostedt
Date: Thu Apr 05 2018 - 10:34:30 EST


On Thu, 5 Apr 2018 16:27:49 +0200
Michal Hocko <mhocko@xxxxxxxxxx> wrote:

> > I understand you don't want GFP_NORETRY. But why is it more important for
> > this allocation to succeed than other normal GFP_KERNEL allocations?
>
> I guess they simply want a failure rather than OOM even when they can
> shoot themselves into head by using oom_origin. It is still quite ugly
> to see OOM report...

Exactly!

-- Steve