Re: [PATCH 1/2] xfs: check the return value of krealloc()

From: Christoph Hellwig
Date: Tue Nov 24 2020 - 06:52:07 EST


On Tue, Nov 24, 2020 at 06:45:30PM +0800, Zhen Lei wrote:
> krealloc() may fail to expand the memory space. Add sanity checks to it,
> and WARN() if that really happened.

What part of the __GFP_NOFAIL semantics isn't clear enough?