On Fri, Aug 29, 2014 at 02:10:43PM -0700, Jarno Rajahalme wrote:
> barrier->count is used as a simple counter and is not expected the
> synchronize the state of any other variable, so we can use atomic_count,
> which uses relaxed atomics.
> 
> Ditto for the 'next_id' within ovsthread_wrapper().
> 
> Signed-off-by: Jarno Rajahalme <jrajaha...@nicira.com>
> ---
> v2: Do not seq_read again after seq_change, as we know the value changed.

Acked-by: Ben Pfaff <b...@nicira.com>
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to