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().
>
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
---
v2: Do not seq_read again after seq_chang