From mboxrd@z Thu Jan 1 00:00:00 1970 From: mathieu.desnoyers@efficios.com (Mathieu Desnoyers) Date: Mon, 21 Jan 2013 09:16:46 -0500 Subject: [lttng-dev] Query on the rculist In-Reply-To: <50FCA183.8030201@gmail.com> References: <50FCA183.8030201@gmail.com> Message-ID: <20130121141645.GB31140@Krystal> * 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