Re: [PATCH net] rhashtable: fix crash due to mm api change

From: Herbert Xu
Date: Mon Sep 26 2022 - 06:28:20 EST


On Mon, Sep 26, 2022 at 12:05:50PM +0200, Florian Westphal wrote:
>
> I don't understand that at all, since this means removal of
> __GFP_NOWARN -- that makes no sense to me.

Only in the case of kvzalloc. We expect kzalloc to fail, that's
why it gets NOWARN. There is no sane reason for kvzalloc to fail
so it should warn.

Cheers,
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt