aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/route.h
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2010-11-11 06:57:19 +0000
committerDavid S. Miller <davem@davemloft.net>2010-11-11 10:29:40 -0800
commit46b13fc5c0f239f36e84665c73087d5fa86bfd86 (patch)
tree435ef8301a89c04f56b305b219ddcece068bb273 /include/net/route.h
parentvxge: update driver version (diff)
downloadlinux-dev-46b13fc5c0f239f36e84665c73087d5fa86bfd86.tar.xz
linux-dev-46b13fc5c0f239f36e84665c73087d5fa86bfd86.zip
neigh: reorder struct neighbour
It is important to move nud_state outside of the often modified cache line (because of refcnt), to reduce false sharing in neigh_event_send() This is a followup of commit 0ed8ddf4045f (neigh: Protect neigh->ha[] with a seqlock) This gives a 7% speedup on routing test with IP route cache disabled. Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/route.h')
0 files changed, 0 insertions, 0 deletions