From 1a3d00b3d5595d2d3357b8e662f6cd12c6b48b5f Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Sun, 27 Sep 2009 14:20:04 -0400 Subject: [PATCH] Add fixme to urcu-ht Signed-off-by: Mathieu Desnoyers --- urcu-ht.c | 5 +++++ 1 file changed, 5 insertions(+) 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); -- 2.34.1