summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorEric Dumazet <dada1@cosmosbay.com>2006-10-20 09:28:35 +0200
committerDavid S. Miller <davem@davemloft.net>2006-10-20 09:28:35 +0200
commit78d79423179c0efc7ec34b55d287e7be4ca07da6 (patch)
tree493041961b8da774b5d9c6a5cc00add000111137 /drivers
parent[TCP]: One NET_INC_STATS() could be NET_INC_STATS_BH in tcp_v4_err() (diff)
downloadlinux-78d79423179c0efc7ec34b55d287e7be4ca07da6.tar.xz
linux-78d79423179c0efc7ec34b55d287e7be4ca07da6.zip
[IPV4] inet_peer: Group together avl_left, avl_right, v4daddr to speedup lookups on some CPUS
Lot of routers/embedded devices still use CPUS with 16/32 bytes cache lines. (486, Pentium, ... PIII) It makes sense to group together fields used at lookup time so they fit in one cache line. This reduce cache footprint and speedup lookups. Signed-off-by: Eric Dumazet <dada1@cosmosbay.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions