From: Ying Xue Date: Mon, 12 Jan 2015 06:52:24 +0000 (+0800) Subject: rhashtable: add a note for grow and shrink decision functions X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~134^2~244^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6f73d3b13dc5e16ae06025cd1b12a36b2857caa2;p=pandora-kernel.git rhashtable: add a note for grow and shrink decision functions As commit c0c09bfdc415 ("rhashtable: avoid unnecessary wakeup for worker queue") moves condition statements of verifying whether hash table size exceeds its maximum threshold or reaches its minimum threshold from resizing functions to resizing decision functions, we should add a note in rhashtable.h to indicate the implementation of what the grow and shrink decision function must enforce min/max shift, otherwise, it's failed to take min/max shift's set watermarks into effect. Signed-off-by: Ying Xue Cc: Thomas Graf Acked-by: Thomas Graf Signed-off-by: David S. Miller --- Reading git-diff-tree failed