[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20201124115131.GB32060@infradead.org>
Date: Tue, 24 Nov 2020 11:51:31 +0000
From: Christoph Hellwig <hch@...radead.org>
To: Zhen Lei <thunder.leizhen@...wei.com>
Cc: "Darrick J . Wong" <darrick.wong@...cle.com>,
Brian Foster <bfoster@...hat.com>,
linux-xfs <linux-xfs@...r.kernel.org>,
linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 1/2] xfs: check the return value of krealloc()
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?
Powered by blists - more mailing lists