]> git.baikalelectronics.ru Git - kernel.git/commit
rhashtable: Add comment on choice of elasticity value
authorHerbert Xu <herbert@gondor.apana.org.au>
Tue, 24 Mar 2015 02:37:30 +0000 (13:37 +1100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Mar 2015 18:57:04 +0000 (14:57 -0400)
commit6edc036b378f4a625f528f695b3d7eca4bd8c005
tree6e1ddb2743ca32a240661bd395160437280d2d03
parent81c3a8cfd7086818b9613ad670f12204e3a8fc24
rhashtable: Add comment on choice of elasticity value

This patch adds a comment on the choice of the value 16 as the
maximum chain length before we force a rehash.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
lib/rhashtable.c