diff options
author | Ying Xue <ying.xue@windriver.com> | 2015-01-07 13:41:56 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-01-08 19:47:11 -0800 |
commit | c0c09bfdc4150b3918526660768585cd477adf35 (patch) | |
tree | b314052625dceb2550c4b3c4b57ed609896127a6 /lib/fdt.c | |
parent | bd6d4db552ceb52fb19890a454836dcda59743ce (diff) |
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/fdt.c')
0 files changed, 0 insertions, 0 deletions