Re: Checking error messages for failed memory allocations

From: SF Markus Elfring
Date: Wed Apr 26 2017 - 14:50:44 EST


> Basically most everything that has a gfp_t argument does a
> dump_stack() on OOM unless __GFP_NOWARN is specified by that gfp_t.

How do you think about to improve any programming interface documentation
around such a function property?

Are there any special checks needed for function implementations
which can pass the flag â__GFP_NOWARNâ?

Regards,
Markus