]> 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)
commit285829e6b6c04a5934a3a5e42a702f0cd2d615e6
tree6e1ddb2743ca32a240661bd395160437280d2d03
parente453d2cfa46d65769b78264bca2a0f83dca5e2fd
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