Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Apr 2007 13:44:55 +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/sys mutex.h
Message-ID:  <200704111344.l3BDitGf071469@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jhb         2007-04-11 13:44:55 UTC

  FreeBSD src repository

  Modified files:
    sys/sys              mutex.h 
  Log:
  Group the loop to acquire/release Giant with the WITNESS_SAVE/RESTORE under
  a single conditional.  The two operations are linked, but since the link
  is not very direct, Coverity can't see it.  Humans might also miss the
  link as well.  So, this isn't fixing any actual bugs, just improving
  readability.
  
  CID:            1787 (likely others as well)
  Found by:       Coverity Prevent (tm)
  
  Revision  Changes    Path
  1.95      +10 -8     src/sys/sys/mutex.h



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