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

From
Herbert Xu <herbert@gondor.apana.org.au>
Date
2022-09-27 07:04:53
Also in
kvm, lkml
Reply to
Florian Westphal, 2022-09-26
On Mon, Sep 26, 2022 at 12:24:56PM +0200, Florian Westphal wrote:
.
In memory allocation failure, there is no bug, so nothing to fix,
so WARN is useless.
It depends on why it failed.  If it failed because we're asking
for something that simply can't be fulfilled then sure.  But if
we're asking for something sane and kvzalloc still failed it then
we should know about it.

Cheers,
-- 
Email: Herbert Xu [off-list ref]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Thread (15 messages) 15 messages, 4 authors, last reply 2022-09-29
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help