commit | d94ce9b283736a876b2e6dec665c68e5e8b5d55e | [log] [tgz] |
---|---|---|
author | Eric Dumazet <edumazet@google.com> | Sun Oct 21 20:12:09 2012 +0000 |
committer | David S. Miller <davem@davemloft.net> | Mon Oct 22 14:29:06 2012 -0400 |
tree | 77762849ae55afdd9ba6a9fbbf0855a68f7c6372 | |
parent | 0e71c55c9e3eb32de08e17152ec739582afc9400 [diff] |
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>