From mboxrd@z Thu Jan 1 00:00:00 1970 From: namei.unix@gmail.com (Liu Yuan) Date: Thu, 24 Jan 2013 13:22:13 +0800 Subject: [lttng-dev] Query on the rculist In-Reply-To: <50FEA109.6060404@gmail.com> References: <50FCA183.8030201@gmail.com> <20130121141645.GB31140@Krystal> <50FEA109.6060404@gmail.com> Message-ID: <5100C505.6080505@gmail.com> 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