summaryrefslogtreecommitdiff
path: root/lib/locking-selftest-rsem.h
diff options
context:
space:
mode:
authorYing Xue <ying.xue@windriver.com>2015-01-07 05:41:56 (GMT)
committerDavid S. Miller <davem@davemloft.net>2015-01-09 03:47:11 (GMT)
commitc0c09bfdc4150b3918526660768585cd477adf35 (patch)
treeb314052625dceb2550c4b3c4b57ed609896127a6 /lib/locking-selftest-rsem.h
parentbd6d4db552ceb52fb19890a454836dcda59743ce (diff)
downloadlinux-c0c09bfdc4150b3918526660768585cd477adf35.tar.xz
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 <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 'lib/locking-selftest-rsem.h')
0 files changed, 0 insertions, 0 deletions