Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Nov 2010 10:56:46 -0500
From:      Attilio Rao <attilio@freebsd.org>
To:        Konstantin Belousov <kib@freebsd.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r215797 - head/sys/kern
Message-ID:  <AANLkTin1Bz-%2BV8MkiGABtMZL%2Bqy-1FXYchKNbdJagGwY@mail.gmail.com>
In-Reply-To: <201011241230.oAOCUflT070176@svn.freebsd.org>
References:  <201011241230.oAOCUflT070176@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
2010/11/24 Konstantin Belousov <kib@freebsd.org>:
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTin1Bz-%2BV8MkiGABtMZL%2Bqy-1FXYchKNbdJagGwY>