commit | 78d79423179c0efc7ec34b55d287e7be4ca07da6 | [log] [tgz] |
---|---|---|
author | Eric Dumazet <dada1@cosmosbay.com> | Fri Oct 20 00:28:35 2006 -0700 |
committer | David S. Miller <davem@davemloft.net> | Fri Oct 20 00:28:35 2006 -0700 |
tree | 493041961b8da774b5d9c6a5cc00add000111137 | |
parent | 06ca719faddaf5ea46c6356b12847663c3ed8806 [diff] |
[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>