From: Herbert Xu Date: Mon, 23 Mar 2015 13:50:25 +0000 (+1100) Subject: rhashtable: Shrink to fit X-Git-Tag: omap-for-v4.2/o2_dc~131^2~163^2~3 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=18093d1c0d1e032142ee24825678b0a8977d74ba;p=pandora-kernel.git 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 Acked-by: Thomas Graf Signed-off-by: David S. Miller --- Reading git-diff-tree failed