summaryrefslogtreecommitdiff
path: root/lib/zlib_deflate
diff options
context:
space:
mode:
authorYing Xue <ying.xue@windriver.com>2015-01-07 05:41:53 (GMT)
committerDavid S. Miller <davem@davemloft.net>2015-01-09 03:47:10 (GMT)
commit54c5b7d311c8e1801f9dcce9f388a7420a25fa90 (patch)
tree9bbd313b7a6676fb1752abf7dd3fe736c18114bc /lib/zlib_deflate
parentefb975a67ea7846b966080f999589de570686aa0 (diff)
downloadlinux-54c5b7d311c8e1801f9dcce9f388a7420a25fa90.tar.xz
rhashtable: introduce rhashtable_wakeup_worker helper function
Introduce rhashtable_wakeup_worker() helper function to reduce duplicated code where to wake up worker. By the way, as long as the both "future_tbl" and "tbl" bucket table pointers point to the same bucket array, we should try to wake up the resizing worker thread, otherwise, it indicates the work of resizing hash table is not finished yet. However, currently we will wake up the worker thread only when the two pointers point to different bucket array. Obviously this is wrong. So, the issue is also fixed as well in the patch. 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/zlib_deflate')
0 files changed, 0 insertions, 0 deletions