X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=urcu%2Frcuja.h;h=55793d573ea2ae2491912be312c182ffb949b4ea;hb=125a6dae5e23500f9359023dac7be741c6fc47b1;hp=421e8388eb563112c894d6897b6e990d1e772911;hpb=dc0e9798320a244262c504c47f34af058bc1ebb3;p=userspace-rcu.git diff --git a/urcu/rcuja.h b/urcu/rcuja.h index 421e838..55793d5 100644 --- a/urcu/rcuja.h +++ b/urcu/rcuja.h @@ -147,6 +147,8 @@ 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, + * however, QSBR threads need to be online. */ int cds_ja_destroy(struct cds_ja *ja, void (*free_node_cb)(struct cds_ja_node *node));