Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Sep 2002 15:31:21 -0700 (PDT)
From:      Don Lewis <dl-freebsd@catspoiler.org>
To:        uitm@zenon.net
Cc:        dl-freebsd@catspoiler.org, arch@FreeBSD.ORG, iedowse@maths.tcd.ie, tlambert2@mindspring.com
Subject:   Re: VOP_INACTIVE()
Message-ID:  <200209172231.g8HMVLwr017242@gw.catspoiler.org>
In-Reply-To: <200209171038.g8HAcgQ39991@uitm.zenon.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 17 Sep, Andrey Alekseyev wrote:
>> The second fix is to all VOP_INACTIVE() before the reference count is
>> decremented.  The main problem with this is that some of the things done
> 
> Btw, Solaris does that in vn_rele()

I took a peek at NetBSD and they go to the opposite extreme.  Vrele()
and vrele() call VOP_INACTIVE() after the vnode has been put on the free
list.  It looks like they rely on the vnode lock being held to prevent
bad stuff from happening.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200209172231.g8HMVLwr017242>