Re: [ovs-dev] [PATCH 3/7] lib/ovs-rcu: Support static initialization.

2014-10-27 Thread Jarno Rajahalme
Thanks for the review! Pushed to master, Jarno On Oct 24, 2014, at 4:15 PM, Ben Pfaff wrote: > On Fri, Oct 24, 2014 at 01:36:37PM -0700, Jarno Rajahalme wrote: >> Currently, OVSRCU_TYPE_INITIALIZER always initializes the RCU pointer >> as NULL. There is no reason why the RCU pointer could n

Re: [ovs-dev] [PATCH 3/7] lib/ovs-rcu: Support static initialization.

2014-10-24 Thread Ben Pfaff
On Fri, Oct 24, 2014 at 01:36:37PM -0700, Jarno Rajahalme wrote: > Currently, OVSRCU_TYPE_INITIALIZER always initializes the RCU pointer > as NULL. There is no reason why the RCU pointer could not be > initialized with a non-NULL value, however, as statically allocated > memory is even more stable

[ovs-dev] [PATCH 3/7] lib/ovs-rcu: Support static initialization.

2014-10-24 Thread Jarno Rajahalme
Currently, OVSRCU_TYPE_INITIALIZER always initializes the RCU pointer as NULL. There is no reason why the RCU pointer could not be initialized with a non-NULL value, however, as statically allocated memory is even more stable than required for RCU. This patch changes the initializer to OVSRCU_INI