diff options
author | Claudiu Manoil <claudiu.manoil@freescale.com> | 2013-01-29 04:55:10 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-01-29 21:22:02 +0100 |
commit | 0cd3fdea07d8e0f0f5bac7534892b785af37e387 (patch) | |
tree | 0592b37e4c30e05db534d1ee4b87551fb131b1d3 /net/socket.c | |
parent | ipv6: Fix inet6_csk_bind_conflict so it builds with user namespaces enabled (diff) | |
download | linux-0cd3fdea07d8e0f0f5bac7534892b785af37e387.tar.xz linux-0cd3fdea07d8e0f0f5bac7534892b785af37e387.zip |
gianfar: Optimize struct gfar_priv_tx_q for two cache lines
Resize and regroup structure members to eliminate memory holes and
to pack the structure into 2 cache lines (from 3).
tx_ring_size was resized from 4 to 2 bytes and few members were re-grouped
in order to eliminate byte holes and achieve compactness.
Where possible, few members were grouped according to their usage and access
order (i.e. start_xmit vs. clean_tx_ring members), less important members
were pushed at the end.
Signed-off-by: Claudiu Manoil <claudiu.manoil@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/socket.c')
0 files changed, 0 insertions, 0 deletions