[ovs-dev] [PATCH v3 4/8] ovs-atomic: Fix GCC4+ atomic_flag.
blp at nicira.com
Tue Aug 5 18:09:30 UTC 2014
On Thu, Jul 31, 2014 at 03:21:50PM -0700, Jarno Rajahalme wrote:
> The default memory order for atomic_flag is documented to be
> memory_order_seq_cst (as in C11), but the GCC4+ implementation only
> used the GCC builtins, which provide acquire and release semantics
> only. Additional barriers are needed for in other cases.
> Signed-off-by: Jarno Rajahalme <jrajahalme at nicira.com>
Acked-by: Ben Pfaff <blp at nicira.com>
More information about the dev