From: Eric Dumazet Date: Thu, 11 Nov 2010 06:57:19 +0000 (+0000) Subject: neigh: reorder struct neighbour X-Git-Tag: v2.6.38-rc1~476^2~600 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=46b13fc5c0f239f36e84665c73087d5fa86bfd86;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed