[lttng-dev] Query on the rculist

Liu Yuan namei.unix at gmail.com
Thu Jan 24 00:22:13 EST 2013


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



More information about the lttng-dev mailing list