summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2015-03-24 00:50:25 +1100
committerDavid S. Miller <davem@davemloft.net>2015-03-23 22:07:52 -0400
commit18093d1c0d1e032142ee24825678b0a8977d74ba (patch)
tree2740fc6be545509613d41984d161efdb97f5d4f2 /init
parent6d022949810b1ea82d46a576d6166035720bbb32 (diff)
downloadop-kernel-dev-18093d1c0d1e032142ee24825678b0a8977d74ba.zip
op-kernel-dev-18093d1c0d1e032142ee24825678b0a8977d74ba.tar.gz
rhashtable: Shrink to fit
This patch changes rhashtable_shrink to shrink to the smallest size possible rather than halving the table. This is needed because with multiple rehashing we will defer shrinking until all other rehashing is done, meaning that when we do shrink we may be able to shrink a lot. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Acked-by: Thomas Graf <tgraf@suug.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud