On 01/22/2013 10:24 PM, Lai Jiangshan wrote:
> Add a trivial comment.
> 
> There is no list_del_init_rcu(), "init" hurts "rcu".
> If you need a re-initialized object after deletion, you should use
> synchronzie_rcu():
> 
> list_del_rcu();
> synchronize_rcu();
> CDS_INIT_LIST_HEAD();

Thanks, note taken. Mathieu, could you add this as comment for
rculist.h? It will save people from finding list_dei_init_rcu().

Yuan

_______________________________________________
lttng-dev mailing list
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

Reply via email to