Re: Checking error messages for failed memory allocations

From: Joe Perches
Date: Wed Apr 26 2017 - 15:06:08 EST


On Wed, 2017-04-26 at 20:50 +0200, SF Markus Elfring wrote:
> > 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?

Feel free to submit documentation patches.

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

No.