Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Aug 2009 16:33:53 +0000 (UTC)
From:      Attilio Rao <attilio@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/kern kern_lock.c kern_mutex.c kern_rwlock.c kern_sx.c src/sys/sys systm.h
Message-ID:  <200908171634.n7HGYULP080460@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
attilio     2009-08-17 16:33:53 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_8)
    sys/kern             kern_lock.c kern_mutex.c kern_rwlock.c 
                         kern_sx.c 
    sys/sys              systm.h 
  Log:
  SVN rev 196336 on 2009-08-17 16:33:53Z by attilio
  
  MFC r196334:
  
  * Change the scope of the ASSERT_ATOMIC_LOAD() from a generic check to
    a pointer-fetching specific operation check. Consequently, rename the
    operation ASSERT_ATOMIC_LOAD_PTR().
  * Fix the implementation of ASSERT_ATOMIC_LOAD_PTR() by checking
    directly alignment on the word boundry, for all the given specific
    architectures. That's a bit too strict for some common case, but it
    assures safety.
  * Add a comment explaining the scope of the macro
  * Add a new stub in the lockmgr specific implementation
  
  Tested by: marcel (initial version), marius
  Reviewed by: rwatson, jhb (comment specific review)
  Approved by: re (kib)
  
  Revision   Changes    Path
  1.144.2.2  +3 -0      src/sys/kern/kern_lock.c
  1.213.2.3  +3 -2      src/sys/kern/kern_mutex.c
  1.48.2.3   +3 -2      src/sys/kern/kern_rwlock.c
  1.67.2.3   +3 -2      src/sys/kern/kern_sx.c
  1.276.2.3  +10 -3     src/sys/sys/systm.h



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