cvs commit: src/sys/kern subr_sleepqueue.c subr_turnstile.c

Jeff Roberson jeff at FreeBSD.org
Fri May 18 06:32:26 UTC 2007


jeff        2007-05-18 06:32:24 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             subr_sleepqueue.c subr_turnstile.c 
  Log:
   - Convert turnstiles and sleepqueus to use UMA.  This provides a modest
     speedup and will be more useful after each gains a spinlock in the
     impending thread_lock() commit.
   - Move initialization and asserts into init/fini routines.  fini routines
     are only needed in the INVARIANTS case for now.
  
  Submitted by:   Attilio Rao <attilio at FreeBSD.org>
  Tested by:      kris, jeff
  
  Revision  Changes    Path
  1.36      +52 -17    src/sys/kern/subr_sleepqueue.c
  1.167     +54 -21    src/sys/kern/subr_turnstile.c


More information about the cvs-all mailing list