From: Ying Xue Date: Wed, 7 Jan 2015 05:41:56 +0000 (+0800) Subject: rhashtable: avoid unnecessary wakeup for worker queue X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~134^2~271^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c0c09bfdc4150b3918526660768585cd477adf35;p=pandora-kernel.git rhashtable: avoid unnecessary wakeup for worker queue Move condition statements of verifying whether hash table size exceeds its maximum threshold or reaches its minimum threshold from resizing functions to resizing decision functions, avoiding unnecessary wakeup for worker queue thread. Signed-off-by: Ying Xue Cc: Thomas Graf Acked-by: Thomas Graf Signed-off-by: David S. Miller --- Reading git-diff-tree failed