]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: shrink struct softnet_data
authorEric Dumazet <edumazet@google.com>
Sun, 2 Nov 2014 14:00:12 +0000 (06:00 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 3 Nov 2014 17:25:08 +0000 (12:25 -0500)
commit4cdb1e2e3d3495423db558d3bb7ed11d66aabce7
tree8ac47c7323c806a287b6f63277d6576040e4a1dc
parent55b42b5ca2dcf143465968697fe6c6503b05fca1
net: shrink struct softnet_data

flow_limit in struct softnet_data is only read from local cpu
and can be moved to fill a hole, reducing softnet_data size by
64 bytes on x86_64

While we are at it, move output_queue, output_queue_tailp and
completion_queue, so that rx / tx paths touch a single cache line.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdevice.h