[lttng-dev] Query on the rculist
Mathieu Desnoyers
mathieu.desnoyers at efficios.com
Mon Jan 21 09:16:46 EST 2013
* Liu Yuan (namei.unix at gmail.com) wrote:
> Hi List,
>
> I noticed that there are just few functions suffixed with rcu for
> rculist. And from the source of Linux kernel rculist, I came up with
> some comments saying that list_empty_rcu() can be simply achieved by
> calling list_empty(). Is this true to urcu too? My questions is, are
> following equivalents true?
>
> list_empty_rcu -> list_empty
Yes.
> list_del_init_rcu -> list_del_init
No.
>
> If there are more equivalents, please show light on it.
I will prepare a patch to extend and document the list and rculist APIs.
Your feedback is welcome.
Thanks!
Mathieu
>
> Thanks,
> Yuan
--
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com
More information about the lttng-dev
mailing list