Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Oct 2009 15:51:40 +0000 (UTC)
From:      Attilio Rao <attilio@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/amd64/include atomic.h src/sys/i386/include atomic.h
Message-ID:  <200910091552.n99FqVkU065514@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
attilio     2009-10-09 15:51:40 UTC

  FreeBSD src repository

  Modified files:
    sys/amd64/include    atomic.h 
    sys/i386/include     atomic.h 
  Log:
  SVN rev 197910 on 2009-10-09 15:51:40Z by attilio
  
  atomic_cmpset_barr_* was added in order to cope with compilers willing to
  specify their own version of atomic_cmpset_* which could have been
  different than the membar version.
  
  Right now, however, FreeBSD is bound mostly to GCC-like compilers and
  it is desired to add new support and compat shim mostly when there is
  a real necessity, in order to avoid too much compatibility bloats.
  
  In this optic, bring back atomic_cmpset_{acq, rel}_* to be the same as
  atomic_cmpset_* and unwind the atomic_cmpset_barr_* introduction.
  
  Requested by:   jhb
  Reviewed by:    jhb
  Tested by:      Giovanni Trematerra <giovanni dot trematerra at
                  gmail dot com>
  
  Revision  Changes    Path
  1.49      +44 -32    src/sys/amd64/include/atomic.h
  1.54      +48 -64    src/sys/i386/include/atomic.h



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