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 <[email protected]>
> ---
> v2: Do not seq_read again after seq_change, as we know the value changed.

Acked-by: Ben Pfaff <[email protected]>
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev

Reply via email to