From: Mathieu Desnoyers Date: Fri, 21 Jun 2013 21:29:42 +0000 (-0400) Subject: rcuhlist: make pointer stores atomic X-Git-Tag: v0.8.0~37 X-Git-Url: http://git.lttng.org/?a=commitdiff_plain;h=90bdf188e835cadbc12d5fa7e4523056ecd97cf4;hp=90bdf188e835cadbc12d5fa7e4523056ecd97cf4;p=urcu.git rcuhlist: make pointer stores atomic Use rcu_assign_pointer() to store into head->next in cds_hlist_add_head_rcu(). This includes the write barrier needed before publishing the new node. Use CMM_STORE_SHARED() to store into elem->prev->next in cds_hlist_del_rcu(). Signed-off-by: Mathieu Desnoyers ---