Use workqueue in rculfhash
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 30 May 2017 19:51:45 +0000 (15:51 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 16 Dec 2021 20:41:43 +0000 (15:41 -0500)
commit4494af1dbe325b722f1dc8c83d1cef0b75abd6ec
tree847e096ebf9713eef6bc46a28537610220ead646
parent4513c2e95050f343564ffcee49d6041a4adeb916
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 <mathieu.desnoyers@efficios.com>
Change-Id: If09663508bd58457929c0d3f7f15f66267d42cf6
rculfhash-internal.h
rculfhash.c
urcu-call-rcu-impl.h
urcu-flavor.h
urcu/map/urcu-bp.h
urcu/map/urcu-qsbr.h
urcu/map/urcu.h
urcu/rculfhash.h
This page took 0.022971 seconds and 4 git commands to generate.