cvs commit: src/sys/geom geom_io.c

Robert Watson rwatson at FreeBSD.org
Sat Jun 26 16:32:18 PDT 2004


On Sat, 26 Jun 2004, Robert Watson wrote:

>   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.

Ooops, left out:

Reviwed by:	phk

Robert N M Watson             FreeBSD Core Team, TrustedBSD Projects
robert at fledge.watson.org      Principal Research Scientist, McAfee Research




More information about the cvs-src mailing list