Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Jan 2001 02:57:02 -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:  <200101241057.f0OAv2v11865@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
jhb         2001/01/24 02:57:02 PST

  Modified files:
    sys/kern             kern_mutex.c 
    sys/sys              mutex.h 
  Log:
  - Don't use a union and fun tricks to shave one extra pointer off of struct
    mtx right now as it makes debugging harder.  When we are in optimizing
    mode, we can revisit this.
  - Fix the KTR trace messages to use %p rather than 0x%p to avoid duplicate
    0x's in KTR output.
  - During witness_fixup, release Giant so that witness doesn't get confused.
    Also, grab all_mtx while walking the list of mutexes.
  - Remove w_sleep and w_recurse.  Instead, perform checks on mutexes using
    the mutex's mtx_flags field.
  - Allow debug.witness_ddb and debug.witness_skipspin to be set from the
    loader.
  - Add Giant to the front of existing order_list entries to help ensure
    Giant is always first.
  - Add an order entry for the various proc locks.  Note that this only
    helps keep proc in order mostly as the allproc and proctree mutexes are
    only obtained during a lockmgr operation on the specified mutex.
  
  Revision  Changes    Path
  1.38      +77 -85    src/sys/kern/kern_mutex.c
  1.22      +3 -5      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?200101241057.f0OAv2v11865>