From: Eric Dumazet Date: Thu, 19 Oct 2006 03:51:57 +0000 (-0700) Subject: [NET]: reduce per cpu ram used for loopback stats X-Git-Tag: v2.6.19-rc3~45^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5175c3786c244f8b689854db24c9e79b1c6a084f;p=pandora-kernel.git [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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed