summaryrefslogtreecommitdiffstats
path: root/include/net/ip6_fib.h
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2012-10-21 22:12:09 +0200
committerDavid S. Miller <davem@davemloft.net>2012-10-22 20:29:06 +0200
commitd94ce9b283736a876b2e6dec665c68e5e8b5d55e (patch)
tree77762849ae55afdd9ba6a9fbbf0855a68f7c6372 /include/net/ip6_fib.h
parenttcp: speedup SIOCINQ ioctl (diff)
downloadlinux-d94ce9b283736a876b2e6dec665c68e5e8b5d55e.tar.xz
linux-d94ce9b283736a876b2e6dec665c68e5e8b5d55e.zip
ipv4: 16 slots in initial fib_info hash table
A small host typically needs ~10 fib_info structures, so create initial hash table with 16 slots instead of only one. This removes potential false sharing and reallocs/rehashes (1->2->4->8->16) Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/ip6_fib.h')
0 files changed, 0 insertions, 0 deletions