DragonFly BSD
DragonFly commits List (threaded) for 2013-07
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: kernel: Add atomic_load_acq_64()


From: Francois Tigeot <ftigeot@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 30 Jul 2013 11:58:48 -0700 (PDT)

commit 620a2dbd3a475e09c62834156a6a0ff9caf27e31
Author: François Tigeot <ftigeot@wolfpond.org>
Date:   Tue Jul 30 20:35:59 2013 +0200

    kernel: Add atomic_load_acq_64()
    
    * This routine was already implemented on x86_64 under another name
    
    * Take the FreeBSD i586 version for i386; this variant use a chmxchg8b
      instruction and require at least a Pentium CPU to run

Summary of changes:
 sys/cpu/i386/include/atomic.h   | 26 ++++++++++++++++++++++++--
 sys/cpu/x86_64/include/atomic.h |  3 +++
 2 files changed, 27 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/620a2dbd3a475e09c62834156a6a0ff9caf27e31


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]