From owner-svn-src-user@FreeBSD.ORG Thu Jan 15 15:46:17 2009 Return-Path: Delivered-To: svn-src-user@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AE0E5106567E; Thu, 15 Jan 2009 15:46:17 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 7FAAA8FC1D; Thu, 15 Jan 2009 15:46:17 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (pool-98-109-39-197.nwrknj.fios.verizon.net [98.109.39.197]) by cyrus.watson.org (Postfix) with ESMTPSA id 2DD0646B23; Thu, 15 Jan 2009 10:46:17 -0500 (EST) Received: from localhost (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.14.3/8.14.3) with ESMTP id n0FFk56w001666; Thu, 15 Jan 2009 10:46:11 -0500 (EST) (envelope-from jhb@freebsd.org) From: John Baldwin To: Kip Macy Date: Thu, 15 Jan 2009 09:59:52 -0500 User-Agent: KMail/1.9.7 References: <200812312321.mBVNL75E037897@svn.freebsd.org> In-Reply-To: <200812312321.mBVNL75E037897@svn.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200901150959.53050.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Thu, 15 Jan 2009 10:46:11 -0500 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-3.5 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: Re: svn commit: r186661 - user/kmacy/HEAD_fast_net/sys/kern X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the experimental " user" src tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jan 2009 15:46:18 -0000 On Wednesday 31 December 2008 6:21:07 pm Kip Macy wrote: > Author: kmacy > Date: Wed Dec 31 23:21:07 2008 > New Revision: 186661 > URL: http://svn.freebsd.org/changeset/base/186661 > > Log: > make it possible to profile normal mutex acquisition by not calling > knlist_mtx_lock Alternatively, you could pass LOCK_FILE and LOCK_LINE (sys/lock.h) to kl_lock, etc. and have knlist_mtx_lock use the private version that takes file and line. This would also make it work for all lock types. -- John Baldwin