Re: [patch] ipv4: don't warn about skb ack allocation failures

From: David Miller
Date: Thu Jun 18 2009 - 15:00:42 EST


From: David Rientjes <rientjes@xxxxxxxxxx>
Date: Thu, 18 Jun 2009 09:56:14 -0700 (PDT)

> I disagree, page allocation failure messages show vital information about
> the state of the VM so that we can find bugs and GFP_ATOMIC allocations
> are the most common trigger for these diagnostic messages since
> __GFP_WAIT allocations can trigger direct reclaim (and __GFP_FS
> allocations can trigger the oom killer) to free memory and will retry the
> allocation if ~__GFP_NORETRY.

It's COMPLETELY and ABSOLUTELY normal for GFP_ATOMIC allocations to
fail in the networking.

If you warn it will just spam the logs, and on a router forwarding
millions of packets per second are you sure that can ever be sane?

Use statistics and tracing if necessary, but log spam no way...
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/