From: Mathieu Desnoyers Date: Sun, 27 Sep 2009 18:20:04 +0000 (-0400) Subject: Add fixme to urcu-ht X-Git-Tag: v0.7.0~43^2~246 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=1a3d00b3d5595d2d3357b8e662f6cd12c6b48b5f;p=urcu.git Add fixme to urcu-ht Signed-off-by: Mathieu Desnoyers --- diff --git a/urcu-ht.c b/urcu-ht.c index 8edfae3..0498618 100644 --- a/urcu-ht.c +++ b/urcu-ht.c @@ -55,6 +55,11 @@ void ht_delete_all(struct rcu_ht *ht) break; } prev = &node->next; + /* + * FIXME: calling call_rcu within a read-side C.S. is a + * bug, because it may call synchronize_rcu() if the + * callback queue is full. + */ if (node->data) call_rcu(ht->free_fct, node->data); call_rcu(free, node);