git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ce8ade
)
[NET]: reduce per cpu ram used for loopback stats
author
Eric Dumazet
<dada1@cosmosbay.com>
Thu, 19 Oct 2006 03:51:57 +0000
(20:51 -0700)
committer
David S. Miller
<davem@davemloft.net>
Thu, 19 Oct 2006 03:51:57 +0000
(20:51 -0700)
We dont need a full struct net_device_stats (currently 23 long : 184 bytes on
x86_64) per possible CPU, but only two counters : bytes and packets
We save few CPU cycles too in loopback_xmit() not updating 4 fields, but 2.
Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
No differences found