Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Jun 2004 19:31:06 -0400 (EDT)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/geom geom_io.c
Message-ID:  <Pine.NEB.3.96L.1040626193046.58671K-100000@fledge.watson.org>
In-Reply-To: <200406262327.i5QNRgrC080318@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

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@fledge.watson.org      Principal Research Scientist, McAfee Research




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.96L.1040626193046.58671K-100000>