diff options
author | Eric Dumazet <dada1@cosmosbay.com> | 2006-10-19 05:51:57 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2006-10-19 05:51:57 +0200 |
commit | 5175c3786c244f8b689854db24c9e79b1c6a084f (patch) | |
tree | 459975fe6a7b6dd5294b362397b185959b4ab96d /sound/pci/cs4281.c | |
parent | [IPv6] route: Fix prohibit and blackhole routing decision (diff) | |
download | linux-5175c3786c244f8b689854db24c9e79b1c6a084f.tar.xz linux-5175c3786c244f8b689854db24c9e79b1c6a084f.zip |
[NET]: reduce per cpu ram used for loopback stats
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>
Diffstat (limited to 'sound/pci/cs4281.c')
0 files changed, 0 insertions, 0 deletions