From owner-svn-src-all@FreeBSD.ORG Wed Nov 24 15:56:48 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6CD181065670; Wed, 24 Nov 2010 15:56:48 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: from mail-gx0-f182.google.com (mail-gx0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id DD4E88FC0C; Wed, 24 Nov 2010 15:56:47 +0000 (UTC) Received: by gxk8 with SMTP id 8so696791gxk.13 for ; Wed, 24 Nov 2010 07:56:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=ZdNsp+qE8xu4SzqtXO0KHbKCKDoFe4VBl9HUFPUQENk=; b=HzexaOJ1nBraawzm72dX8vAv0aVESkGe1tAqGQqdBvSMUCFQmVkAd4+l2PRoNpJ8G4 hyCPr1nakSuUGlqEx2l1SU9VncC+YAtPxLhgVhEaGCawYxyeg2oBo4pPQEMg8OjLu0gi ZIQmdP9N68shUeOlHkmBUX2aa0KTUobhvfh1I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=HgOXSOYtfT5zxzF0orbIoUhMPr14OZV+SaGvaM0lBqi//Yz9BtMzHPO7+Itte0U7e4 gNXVb00aLE48/84o/qq0VDAaEnOBHLYcsEQ7xrIf4EX0Aowz9p4lGOuRXGdjvSPdJFHD xr/lHEGMaM68F02hb45uCnMapo9+XyRvzgP7s= MIME-Version: 1.0 Received: by 10.150.11.5 with SMTP id 5mr1087523ybk.370.1290614206973; Wed, 24 Nov 2010 07:56:46 -0800 (PST) Sender: asmrookie@gmail.com Received: by 10.151.39.12 with HTTP; Wed, 24 Nov 2010 07:56:46 -0800 (PST) In-Reply-To: <201011241230.oAOCUflT070176@svn.freebsd.org> References: <201011241230.oAOCUflT070176@svn.freebsd.org> Date: Wed, 24 Nov 2010 10:56:46 -0500 X-Google-Sender-Auth: 5ZXhQ_Du16dG4GIIxoASDgRkM9A Message-ID: From: Attilio Rao To: Konstantin Belousov Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r215797 - head/sys/kern X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Nov 2010 15:56:48 -0000 2010/11/24 Konstantin Belousov : > Author: kib > Date: Wed Nov 24 12:30:41 2010 > New Revision: 215797 > URL: http://svn.freebsd.org/changeset/base/215797 > > Log: > =C2=A0Allow shared-locked vnode to be passed to vunref(9). > =C2=A0When shared-locked vnode is supplied as an argument to vunref(9) an= d > =C2=A0resulting usecount is 0, set VI_OWEINACT and do not try to upgrade = vnode > =C2=A0lock. The later could cause vnode unlock, allowing the vnode to be > =C2=A0reclaimed meantime. Thanks a lot, I really appreciate that. The story here is that kib really wanted to commit another patch aiming for the vnode lock upgrade with a modify to lockmgr that I wasn't happy with (or more specifically that I really wished could be carried on in a different way). As this is a time-critical fix for him, that is probabilly a better comprom= ise. I'll try to find some time and go with the full patchset I have in mind, changing this to using upgrade. Attilio --=20 Peace can only be achieved by understanding - A. Einstein