Re: 64 bit netdev stats counter

David S. Miller
2002-07-12T22:35:11Z

From: Andrew Morton <akpm@zip.com.au>
Date: Fri, 12 Jul 2002 15:27:09 -0700

Could you make the counters per-cpu and only add them all up
in the rare case where someone wants to read the stats?

And then change all the drivers ;)

Since spinlocks are held %99 of the time when these counters are
bumped, I'd like to suggest another more sane and space optimized
solution :-)