[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 22 Jan 2013 23:17:54 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: joe@...ches.com
Cc: David.Choi@...rel.Com, netdev@...r.kernel.org,
Ping.Doong@...rel.Com
Subject: Re: [PATCH net-next] drivers/net/ethernet/micrel/ks8851_mll:
Implement basic statistics
From: Joe Perches <joe@...ches.com>
Date: Tue, 22 Jan 2013 19:57:34 -0800
> On Tue, 2013-01-22 at 20:51 -0500, David Miller wrote:
>> BTW it's inappropriate to log an SKB allocation failure as an error in
>> the kernel logs like this. This can be completely normal on a heavily
>> loaded system. People can look at the device statistics to learn about
>> this event, or use a more sophisticated tool like the drop monitor.
>
> There are many of these still around, though
> hardly any in modern drivers.
Right.
> I get this file list in drivers/net/ of
> alloc_skb failures followed by printks:
>
> Almost all of these are pretty old and are
> probably best described as "don't bother".
Be also careful to not match the ones that are done to
do something like the initial RX ring filling during
device open.
If such an allocation failure causes device open to fail,
that's a legitimate situation in which to log.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists