Re: [ovs-dev] [PATCH 00/18] Use relaxed atomic operations when possible.

2014-08-22 Thread Jarno Rajahalme
On Aug 22, 2014, at 1:58 PM, Jarno Rajahalme wrote: > The default memory order for atomic operations is > memory_order_seq_cst, which synchronizes the whole system, i.e., locks > the memory bus, which is very expensive. memory_order_relaxed, on the > other hand, does not impose any kind of memo

[ovs-dev] [PATCH 00/18] Use relaxed atomic operations when possible.

2014-08-22 Thread Jarno Rajahalme
The default memory order for atomic operations is memory_order_seq_cst, which synchronizes the whole system, i.e., locks the memory bus, which is very expensive. memory_order_relaxed, on the other hand, does not impose any kind of memory barrier (not even a compiler barrier), which allows for bett