From owner-cvs-src@FreeBSD.ORG Sat Jun 26 23:32:18 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C477716A4CE; Sat, 26 Jun 2004 23:32:18 +0000 (GMT) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 79B8B43D3F; Sat, 26 Jun 2004 23:32:18 +0000 (GMT) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (localhost [127.0.0.1]) by fledge.watson.org (8.12.11/8.12.11) with ESMTP id i5QNV66B064114; Sat, 26 Jun 2004 19:31:06 -0400 (EDT) (envelope-from robert@fledge.watson.org) Received: from localhost (robert@localhost)i5QNV6Un064111; Sat, 26 Jun 2004 19:31:06 -0400 (EDT) (envelope-from robert@fledge.watson.org) Date: Sat, 26 Jun 2004 19:31:06 -0400 (EDT) From: Robert Watson X-Sender: robert@fledge.watson.org To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org In-Reply-To: <200406262327.i5QNRgrC080318@repoman.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: cvs commit: src/sys/geom geom_io.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Jun 2004 23:32:18 -0000 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