On Fri, Aug 22, 2014 at 01:58:17PM -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>

I would have thought that ovs_barrier_block() would include a fairly
strong barrier--at least an acquire-release barrier?--but it doesn't
seem to necessarily include one at all now.
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to