Re: [PATCH] net/skbuff: silence warnings under memory pressure

From: Michal Hocko
Date: Tue Sep 03 2019 - 09:22:40 EST


On Fri 30-08-19 18:15:22, Eric Dumazet wrote:
> If there is a risk of flooding the syslog, we should fix this generically
> in mm layer, not adding hundred of __GFP_NOWARN all over the places.

We do already ratelimit in warn_alloc. If it isn't sufficient then we
can think of a different parameters. Or maybe it is the ratelimiting
which doesn't work here. Hard to tell and something to explore.

--
Michal Hocko
SUSE Labs