[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <c3258752-4315-de2a-b0e3-3fb996fe1728@huawei.com>
Date: Tue, 24 Nov 2020 20:05:30 +0800
From: "Leizhen (ThunderTown)" <thunder.leizhen@...wei.com>
To: Christoph Hellwig <hch@...radead.org>
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 2020/11/24 19:51, Christoph Hellwig wrote:
> 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?
Oh, sorry, I didn't notice __GFP_NOFAIL flag.
>
>
Powered by blists - more mailing lists