Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Nov 2004 22:42:25 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/i386/include atomic.h
Message-ID:  <200411112242.iABMgPMg047573@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jhb         2004-11-11 22:42:25 UTC

  FreeBSD src repository

  Modified files:
    sys/i386/include     atomic.h 
  Log:
  - Place the gcc memory barrier hint in the right place in the 80386 version
    of atomic_store_rel().
  - Use the 80386 versions of atomic_load_acq() and atomic_store_rel() that
    do not use serializing instructions on all UP kernels since a UP machine
    does need to synchronize with other CPUs.  This trims lots of cycles from
    spin locks on UP kernels among other things.
  
  Benchmarked by: rwatson
  
  Revision  Changes    Path
  1.33      +9 -8      src/sys/i386/include/atomic.h



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200411112242.iABMgPMg047573>