projects
/
userspace-rcu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab7d5fc
)
Add fixme to urcu-ht
author
Mathieu Desnoyers
<mathieu.desnoyers@polymtl.ca>
Sun, 27 Sep 2009 18:20:04 +0000
(14:20 -0400)
committer
Mathieu Desnoyers
<mathieu.desnoyers@polymtl.ca>
Sun, 27 Sep 2009 18:20:04 +0000
(14:20 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
urcu-ht.c
patch
|
blob
|
blame
|
history
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;
+ /*
+ * 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);
This page took
0.025768 seconds
and
4
git commands to generate.