Thread (2 messages) 2 messages, 2 authors, 2012-10-22

Re: [PATCH net-next] ipv4: 16 slots in initial fib_info hash table

flat view

From: David Miller <davem@davemloft.net>
Date: 2012-10-22 19:11:51

From: Eric Dumazet <redacted>
Date: Mon, 22 Oct 2012 08:12:09 +0200
From: Eric Dumazet <redacted>

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 <redacted>
Applied.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help