git: kernel: Add atomic_load_acq_64()

Francois Tigeot ftigeot at crater.dragonflybsd.org
Tue Jul 30 11:58:48 PDT 2013


commit 620a2dbd3a475e09c62834156a6a0ff9caf27e31
Author: François Tigeot <ftigeot at 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



More information about the Commits mailing list