Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Feb 2001 18:54:16 -0800 (PST)
From:      Bosko Milekic <bmilekic@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:  <200102110254.f1B2sGD18146@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
bmilekic    2001/02/10 18:54:16 PST

  Modified files:
    sys/kern             kern_mutex.c 
    sys/sys              mutex.h 
  Log:
  - Place back STR string declarations for lock/unlock strings used for KTR_LOCK
    tracing in order to avoid duplication.
  - Insert some tracepoints back into the mutex acq/rel code, thus ensuring
    that we can trace all lock acq/rel's again.
  - All CURPROC != NULL checks are MPASS()es (under MUTEX_DEBUG) because they
    signify a serious mutex corruption.
  - Change up some KASSERT()s to MPASS()es, and vice-versa, depending on the
    type of problem we're debugging (INVARIANTS is used here to check that
    the API is being used properly whereas MUTEX_DEBUG is used to ensure that
    something general isn't happening that will have bad impact on mutex
    locks).
  
  Reminded by: jhb, jake, asmodai
  
  Revision  Changes    Path
  1.44      +20 -15    src/sys/kern/kern_mutex.c
  1.24      +36 -4     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?200102110254.f1B2sGD18146>