[NET]: Reorder fields of struct dst_entry
commit1e19e02ca0c5e33ea73a25127dbe6c3b8fcaac4b
authorEric Dumazet <dada1@cosmosbay.com>
Sat, 10 Feb 2007 00:26:55 +0000 (9 16:26 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Sun, 11 Feb 2007 07:20:45 +0000 (10 23:20 -0800)
tree23afba2945a9e09b137b094a868ea176c1e1c800
parent0c195c3fc4e95a06b0c0017506f074c94af99c35
[NET]: Reorder fields of struct dst_entry

This last patch (but not least :) ) finally moves the next pointer at
the end of struct dst_entry. This permits to perform route cache
lookups with a minimal cost of one cache line per entry, instead of
two.

Both 32bits and 64bits platforms benefit from this new layout.

Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/dst.h