[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <f6da1799-02a1-b1dc-edcb-a2ea5563b51a@users.sourceforge.net>
Date: Wed, 26 Apr 2017 20:50:13 +0200
From: SF Markus Elfring <elfring@...rs.sourceforge.net>
To: Joe Perches <joe@...ches.com>
Cc: Subhash Jadavani <subhashj@...eaurora.org>,
linux-scsi@...r.kernel.org,
"James E. J. Bottomley" <jejb@...ux.vnet.ibm.com>,
"Martin K. Petersen" <martin.petersen@...cle.com>,
Vinayak Holikatti <vinholikatti@...il.com>,
LKML <linux-kernel@...r.kernel.org>,
kernel-janitors@...r.kernel.org, Wolfram Sang <wsa@...-dreams.de>,
linux-scsi-owner@...r.kernel.org
Subject: Re: Checking error messages for failed memory allocations
> 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
Powered by blists - more mailing lists