[ovs-dev] [PATCH 1/6] lib/ovs-atomic: Add atomic_uint64_t and atomic_int64_t.

Jarno Rajahalme jrajahalme at nicira.com
Sun Jul 27 21:58:21 UTC 2014


> On Jul 27, 2014, at 1:58 PM, Ben Pfaff <blp at nicira.com> wrote:
> 
>> On Sun, Jul 27, 2014 at 10:45:40AM -0700, Jarno Rajahalme wrote:
>> Add non-standard atomic types atomic_uint64_t and atomic_int64_t.  Use
>> of these types is more natural in OVS code than the standard
>> equivalents.
>> 
>> Signed-off-by: Jarno Rajahalme <jrajahalme at nicira.com>
> 
> Commit e09d61c41b4fe (ovs-atomic: Remove atomic_uint64_t and
> atomic_int64_t.) removed these types to discourage using them, because
> they cannot be implemented efficiently on some 32-bit platforms.
> 
> At the time I seem to recall that we suggested using ATOMIC(uint64_t) in
> situations where these types are both wanted and known to be supported.

Ok, I could have checked the history :-)

  Jarno




More information about the dev mailing list