cvs commit: src/sys/geom geom_io.c

Robert Watson rwatson at
Sat Jun 26 16:27:56 PDT 2004

rwatson     2004-06-26 23:27:42 UTC

  FreeBSD src repository

  Modified files:
    sys/geom             geom_io.c 
  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
  Revision  Changes    Path
  1.56      +16 -0     src/sys/geom/geom_io.c

More information about the cvs-all mailing list