diff options
author | Jesper Dangaard Brouer <brouer@redhat.com> | 2013-01-28 18:44:49 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-01-29 13:36:23 -0500 |
commit | 6e34a8b37aca63f109bf990d46131ee07206f5f1 (patch) | |
tree | 2daf8bc157035e3493636eea48db3805a2a92f3f /net/ipv4/inet_fragment.c | |
parent | 5f8e1e8b767bdb8e471d4f49612b88c606f8811e (diff) |
net: cacheline adjust struct inet_frag_queue
Fragmentation code cacheline adjusting of struct inet_frag_queue.
Take advantage of the size of struct timer_list, and move all but
spinlock_t lock, below the timer struct. On 64-bit 'lru_list',
'list' and 'refcnt', fits exactly into the next cacheline, and a
new cacheline starts at 'fragments'.
The netns_frags *net pointer is moved to the end of the struct,
because its used in a compare, with "next/close-by" elements of
which this struct is embedded into.
Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/inet_fragment.c')
0 files changed, 0 insertions, 0 deletions