projects
/
urcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add fixme to urcu-ht
[urcu.git]
/
urcu-ht.c
diff --git
a/urcu-ht.c
b/urcu-ht.c
index 8edfae331440abcae8f566015e56464d77fedb0b..04986188224939695750365cc3a4a18e398ec37e 100644
(file)
--- a/
urcu-ht.c
+++ b/
urcu-ht.c
@@
-55,6
+55,11
@@
void ht_delete_all(struct rcu_ht *ht)
break;
}
prev = &node->next;
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);
if (node->data)
call_rcu(ht->free_fct, node->data);
call_rcu(free, node);
This page took
0.022543 seconds
and
4
git commands to generate.