rcuja: document destroy requirement
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 7 Jun 2013 00:11:10 +0000 (20:11 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 7 Jun 2013 00:11:10 +0000 (20:11 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
urcu/rcuja.h

index 421e8388eb563112c894d6897b6e990d1e772911..4570f1a89da4512184d8fd785a314934ad0d4075 100644 (file)
@@ -147,6 +147,7 @@ struct cds_ja *cds_ja_new(unsigned int key_bits)
  * on the Judy array while it is being destroyed (ensured by the caller).
  * There is no need for the @rcu_free_node_cb callback to wait for grace
  * periods, since there are no more concurrent users of the Judy array.
+ * RCU read-side lock should _not_ be held when calling this function.
  */
 int cds_ja_destroy(struct cds_ja *ja,
                void (*free_node_cb)(struct cds_ja_node *node));
This page took 0.026126 seconds and 4 git commands to generate.