Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Jul 2003 18:22:21 -0700 (PDT)
From:      Don Lewis <truckman@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern kern_descrip.c kern_lock.c kern_mtxpool.c kern_prot.c kern_resource.c kern_sx.c src/sys/sys kernel.h mutex.h
Message-ID:  <200307130122.h6D1MLIB098190@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
truckman    2003/07/12 18:22:21 PDT

  FreeBSD src repository

  Modified files:
    sys/kern             kern_descrip.c kern_lock.c kern_mtxpool.c 
                         kern_prot.c kern_resource.c kern_sx.c 
    sys/sys              kernel.h mutex.h 
  Log:
  Extend the mutex pool implementation to permit the creation and use of
  multiple mutex pools with different options and sizes.  Mutex pools can
  be created with either the default sleep mutexes or with spin mutexes.
  A dynamically created mutex pool can now be destroyed if it is no longer
  needed.
  
  Create two pools by default, one that matches the existing pool that
  uses the MTX_NOWITNESS option that should be used for building higher
  level locks, and a new pool with witness checking enabled.
  
  Modify the users of the existing mutex pool to use the appropriate pool
  in the new implementation.
  
  Reviewed by:    jhb
  
  Revision  Changes    Path
  1.208     +1 -1      src/sys/kern/kern_descrip.c
  1.69      +2 -2      src/sys/kern/kern_lock.c
  1.8       +131 -52   src/sys/kern/kern_mtxpool.c
  1.175     +1 -1      src/sys/kern/kern_prot.c
  1.127     +1 -1      src/sys/kern/kern_resource.c
  1.20      +1 -1      src/sys/kern/kern_sx.c
  1.111     +2 -1      src/sys/sys/kernel.h
  1.62      +23 -5     src/sys/sys/mutex.h



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