Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Jun 2004 23:27:42 +0000 (UTC)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/geom geom_io.c
Message-ID:  <200406262327.i5QNRgrC080318@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
rwatson     2004-06-26 23:27:42 UTC

  FreeBSD src repository

  Modified files:
    sys/geom             geom_io.c 
  Log:
  The g_up and g_down threads use a local 'mymutex' mutex to allow WITNESS
  to warn about attempts to sleep in the I/O path.  This change pushes the
  definition and use of 'mymutex' behind #ifdef WITNESS to avoid the cost
  in non-debugging cases.  This results in a clear .22% performance win for
  512 byte and 1k I/O tests on my SMP test box.  Not much, but every bit
  counts.
  
  Revision  Changes    Path
  1.56      +16 -0     src/sys/geom/geom_io.c



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