From: Mathieu Desnoyers Date: Tue, 30 May 2017 19:51:45 +0000 (-0400) Subject: Use workqueue in rculfhash X-Git-Tag: v0.10.0~3 X-Git-Url: http://git.liburcu.org/?a=commitdiff_plain;ds=sidebyside;h=d0ec0ed2fcb5d67a28587dcb778606e64f5b7b83;hp=d0ec0ed2fcb5d67a28587dcb778606e64f5b7b83;p=urcu.git Use workqueue in rculfhash The RCU lock-free hash table currently requires that the destroy function should not be called from within RCU read-side critical sections. This is caused by the lazy resize, which uses the call_rcu worker thread, even though all it really needs is a workqueue/worker thread scheme. Use the new internal workqueue API instead of call_rcu in rculfhash to overcome this limitation. Signed-off-by: Mathieu Desnoyers ---