Re: [ovs-dev] [RFC 02/10] ovs-rcu: Introduce ovsrcu_compare_exchange()

2014-10-10 Thread Ben Pfaff
On Wed, Oct 08, 2014 at 02:09:48PM -0700, Daniele Di Proietto wrote: > ovsrcu_compare_exchange() can be used to write to RCU pointers without > explicit > locking. It maybe useful to implement lists and other simple data structures. > > Following commits make use of this > > Signed-off-by: Danie

[ovs-dev] [RFC 02/10] ovs-rcu: Introduce ovsrcu_compare_exchange()

2014-10-08 Thread Daniele Di Proietto
ovsrcu_compare_exchange() can be used to write to RCU pointers without explicit locking. It maybe useful to implement lists and other simple data structures. Following commits make use of this Signed-off-by: Daniele Di Proietto --- lib/ovs-rcu.h | 81