Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Dec 2000 13:53:44 -0800 (PST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern kern_mutex.c src/sys/sys mutex.h
Message-ID:  <200012132153.eBDLrix39123@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
jhb         2000/12/13 13:53:44 PST

  Modified files:
    sys/kern             kern_mutex.c 
    sys/sys              mutex.h 
  Log:
  - Add a new flag MTX_QUIET that can be passed to the various mtx_*
    functions.  If this flag is set, then no KTR log messages are issued.
    This is useful for blocking excessive logging, such as with the internal
    mutex used by the witness code.
  - Use MTX_QUIET on all of the mtx_enter/exit operations on the internal
    mutex used by the witness code.
  - If we are in a panic, don't do witness checks in witness_enter(),
    witness_exit(), and witness_try_enter(), just return.
  
  Revision  Changes    Path
  1.30      +66 -41    src/sys/kern/kern_mutex.c
  1.16      +11 -7     src/sys/sys/mutex.h



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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