Re: [PATCH] kernel/trace: Delete five error messages for a failed memory allocation

From: Joe Perches
Date: Mon Oct 09 2017 - 16:20:21 EST


On Mon, 2017-10-09 at 16:13 -0400, Steven Rostedt wrote:
> On Sat, 7 Oct 2017 16:15:14 +0200
> SF Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx> wrote:
>
> > From: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>
> > Date: Sat, 7 Oct 2017 16:10:06 +0200
> >
> > Omit extra messages for a memory allocation failure in these functions.
>
> Does memory allocation failures have printk messages? If not, then I
> think this is removing useful information.

Every k.alloc failure without __GFP_NOWARN does a dump_stack()