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
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.
>>
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.
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 +