Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 May 2002 13:34:28 -0700 (PDT)
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:  <200205212034.g4LKYSj49339@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
jhb         2002/05/21 13:34:28 PDT

  Modified files:
    sys/kern             kern_mutex.c 
    sys/sys              mutex.h 
  Log:
  Optimize spin mutexes for UP kernels without debugging to just enter and
  exit critical sections.  We only contest on a spin mutex on an SMP kernel
  running on an SMP machine.
  
  Revision  Changes    Path
  1.91      +8 -0      src/sys/kern/kern_mutex.c
  1.56      +7 -2      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?200205212034.g4LKYSj49339>