lkml.org 
[lkml]   [2022]   [May]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] ARM: mvebu: check the validation of memory allocation
Date
On Friday, April 29, 2022 11:19 PM +0800, linux@armlinux.org.uk wrote:
> Are these failures silent, or will they be reported in the kernel log to
> make their failure obvious to those who debug the kernel?

According to chapter 14 of the coding style document:
"These generic allocation functions all emit a stack dump on failure when used
without __GFP_NOWARN so there is no use in emitting an additional failure
message when NULL is returned."

I think that these failures are not silent since __GFP_NOWARN is not
enabled.

Regards,
Xiaoke Wang

\
 
 \ /
  Last update: 2022-05-01 09:02    [W:0.063 / U:1.568 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site