Re: [ovs-dev] [PATCH v2 4/9] lib: Introduce u64-stats-sync

2015-03-04 Thread Daniele Di Proietto
> On 4 Mar 2015, at 16:49, Ben Pfaff wrote: > > On Wed, Mar 04, 2015 at 12:06:43PM +, Daniele Di Proietto wrote: >> u64-stats-sync is a simple wrapper that compiles to a 'cntlock' in >> 32-bit systems and is a no-op on 64-bit systems. It will be used by next >> commits >> >> Signed-off-by:

Re: [ovs-dev] [PATCH v2 4/9] lib: Introduce u64-stats-sync

2015-03-04 Thread Ben Pfaff
On Wed, Mar 04, 2015 at 12:06:43PM +, Daniele Di Proietto wrote: > u64-stats-sync is a simple wrapper that compiles to a 'cntlock' in > 32-bit systems and is a no-op on 64-bit systems. It will be used by next > commits > > Signed-off-by: Daniele Di Proietto Also familiar from Linux ;-) I wo

[ovs-dev] [PATCH v2 4/9] lib: Introduce u64-stats-sync

2015-03-04 Thread Daniele Di Proietto
u64-stats-sync is a simple wrapper that compiles to a 'cntlock' in 32-bit systems and is a no-op on 64-bit systems. It will be used by next commits Signed-off-by: Daniele Di Proietto --- lib/automake.mk | 1 + lib/u64-stats-sync.h | 140 +++