diff options
author | Ying Xue <ying.xue@windriver.com> | 2015-01-12 14:52:24 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-01-13 14:01:00 -0500 |
commit | 6f73d3b13dc5e16ae06025cd1b12a36b2857caa2 (patch) | |
tree | 97def40b133732cc55d2f15bfa8e6f652528dc4e /include/linux/power/smartreflex.h | |
parent | c5adde9468b0714a051eac7f9666f23eb10b61f7 (diff) | |
download | op-kernel-dev-6f73d3b13dc5e16ae06025cd1b12a36b2857caa2.zip op-kernel-dev-6f73d3b13dc5e16ae06025cd1b12a36b2857caa2.tar.gz |
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 <ying.xue@windriver.com>
Cc: Thomas Graf <tgraf@suug.ch>
Acked-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/power/smartreflex.h')
0 files changed, 0 insertions, 0 deletions