Re: [ovs-dev] [PATCH 3/5] lib/ovs-rcu: Fix documentation, add ovsrcu_init().

2014-05-28 Thread Ben Pfaff
On Wed, May 28, 2014 at 03:54:34PM -0700, Jarno Rajahalme wrote: > > On May 23, 2014, at 10:11 AM, Ben Pfaff wrote: > > > On Thu, May 22, 2014 at 05:37:40PM -0700, Jarno Rajahalme wrote: > >> lib/ovs-rcu.h had some of the comments duplicated. > >> > >> Add ovsrcu_init() that can be used like ov

Re: [ovs-dev] [PATCH 3/5] lib/ovs-rcu: Fix documentation, add ovsrcu_init().

2014-05-28 Thread Jarno Rajahalme
On May 23, 2014, at 10:11 AM, Ben Pfaff wrote: > On Thu, May 22, 2014 at 05:37:40PM -0700, Jarno Rajahalme wrote: >> lib/ovs-rcu.h had some of the comments duplicated. >> >> Add ovsrcu_init() that can be used like ovsrcu_set() when the RCU >> protected pointer is not yet visible any readers. >>

Re: [ovs-dev] [PATCH 3/5] lib/ovs-rcu: Fix documentation, add ovsrcu_init().

2014-05-23 Thread Ben Pfaff
On Thu, May 22, 2014 at 05:37:40PM -0700, Jarno Rajahalme wrote: > lib/ovs-rcu.h had some of the comments duplicated. > > Add ovsrcu_init() that can be used like ovsrcu_set() when the RCU > protected pointer is not yet visible any readers. > > Use OVS_CONSTRUCTOR to initialize the ovs-rcu module.

[ovs-dev] [PATCH 3/5] lib/ovs-rcu: Fix documentation, add ovsrcu_init().

2014-05-22 Thread Jarno Rajahalme
lib/ovs-rcu.h had some of the comments duplicated. Add ovsrcu_init() that can be used like ovsrcu_set() when the RCU protected pointer is not yet visible any readers. Use OVS_CONSTRUCTOR to initialize the ovs-rcu module. Signed-off-by: Jarno Rajahalme --- lib/ovs-rcu.c | 46 +