From owner-svn-src-user@FreeBSD.ORG Thu Jan 15 19:42: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 E97FD1065690; Thu, 15 Jan 2009 19:42:17 +0000 (UTC) (envelope-from mat.macy@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.225]) by mx1.freebsd.org (Postfix) with ESMTP id A80CC8FC1C; Thu, 15 Jan 2009 19:42:17 +0000 (UTC) (envelope-from mat.macy@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so1263314rvf.43 for ; Thu, 15 Jan 2009 11:42:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:references:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:x-mailer :mime-version:subject:date:cc; bh=lJG1+gSrDeGlR881J4YRECdP0G4a+XZyJEJDkjArIwE=; b=rnEPed/QZ77Voo3+D/KvMoCjC7Pno3jvbsetmvpDMsY5BlvlM3nwN4XD16tygceXh3 +dNiXSGTUgq7SyqXLOo3MFKO2yYjW0MmZfgpPwaBDoEiZ6IqWWT5xEjCLgpMorfoGWwj hwMa/iP/zoqR6h6OpgWp6VhGJgCoBsmU2NzEk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=references:message-id:from:to:in-reply-to:content-type :content-transfer-encoding:x-mailer:mime-version:subject:date:cc; b=w7fXf/TTv5zm4cmMSt7/C4A/SLt3h3d8ahTpB/Zc5DT1mPGG8/1531sBwQVgrn6quD FGtJ1z8v0fe+lyJLdm5FfT9sIy4uKNMfuFaNqALBRgJ+kxXqEs8lQLJYfYjMJ8cEXQXX r5uh1rvM3aqofPpYdfLyfFQCcJ1oVWki659i8= Received: by 10.140.208.17 with SMTP id f17mr771562rvg.261.1232048537364; Thu, 15 Jan 2009 11:42:17 -0800 (PST) Received: from ?192.168.1.146? (c-67-161-11-34.hsd1.ca.comcast.net [67.161.11.34]) by mx.google.com with ESMTPS id l31sm635566rvb.2.2009.01.15.11.42.16 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 15 Jan 2009 11:42:16 -0800 (PST) References: <200812312321.mBVNL75E037897@svn.freebsd.org> <200901150959.53050.jhb@freebsd.org> Message-Id: From: Kip Macy To: John Baldwin In-Reply-To: <200901150959.53050.jhb@freebsd.org> Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Mailer: iPhone Mail (5G77) Mime-Version: 1.0 (iPhone Mail 5G77) Date: Thu, 15 Jan 2009 11:42:13 -0800 Cc: "src-committers@freebsd.org" , Kip Macy , "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 19:42:18 -0000 That would require changing all callers - ultimately a better solution, but more than I wanted to do at the time. On Jan 15, 2009, at 6:59, John Baldwin wrote: > 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