Re: [for-next][PATCH 7/7] tracing: Use pr_err() instead of WARN() for memory failures
From: Steven Rostedt
Date: Sun Jan 26 2020 - 16:40:54 EST
On Sun, 26 Jan 2020 13:07:36 -0800
Joe Perches <joe@xxxxxxxxxxx> wrote:
> > That sounds more generic. This is specific for my own tracing tests to
> > look for. As the point is, it is *not* to dump_stack, and still report
> > the error.
>
> __GFP_NOWARN is available too.
I honestly don't care if there's a dump_stack or not. I just removed the
WARN_ON. If the allocation causes a dump_stack() then that's fine, but
I still like to have a bit more information at what failed to allocate,
than just a offset into a function.
The point of this patch was simply to remove WARN_ON() that caused
fuzzers to fail.
-- Steve