From owner-svn-src-user@FreeBSD.ORG Thu Jan 15 15:46:23 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 1E15F10656BA; Thu, 15 Jan 2009 15:46:23 +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 E435F8FC1C; Thu, 15 Jan 2009 15:46:22 +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 92EAC46B43; Thu, 15 Jan 2009 10:46:22 -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 n0FFk56x001666; Thu, 15 Jan 2009 10:46:16 -0500 (EST) (envelope-from jhb@freebsd.org) From: John Baldwin To: Kip Macy Date: Thu, 15 Jan 2009 10:03:27 -0500 User-Agent: KMail/1.9.7 References: <200901030200.n0320Arr013245@svn.freebsd.org> In-Reply-To: <200901030200.n0320Arr013245@svn.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200901151003.27545.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:16 -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: r186710 - 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:23 -0000 On Friday 02 January 2009 9:00:10 pm Kip Macy wrote: > Author: kmacy > Date: Sat Jan 3 02:00:10 2009 > New Revision: 186710 > URL: http://svn.freebsd.org/changeset/base/186710 > > Log: > convert name cache lock to rwlock for lookups I think you need to restart the lookup if you fail an upgrade. I've had a patch to do that for years (literally) but it didn't help performance in earlier tests by kris@. You can find one that does the restarts at www.freebsd.org/~jhb/namei_rwlock.patch. -- John Baldwin