]> git.baikalelectronics.ru Git - kernel.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)
commit83a1b293294eb139d948082f948f181356d1777c
tree8ac47c7323c806a287b6f63277d6576040e4a1dc
parente32aa74e4b7a1126c412f0cee3f552c8fba74f33
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