From owner-freebsd-current Tue Sep 10 7:21:14 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BDAB337B400; Tue, 10 Sep 2002 07:21:09 -0700 (PDT) Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id C560C43E4A; Tue, 10 Sep 2002 07:21:07 -0700 (PDT) (envelope-from bde@zeta.org.au) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id AAA10840; Wed, 11 Sep 2002 00:21:01 +1000 Date: Wed, 11 Sep 2002 00:28:46 +1000 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Don Lewis Cc: rwatson@FreeBSD.ORG, , Subject: Re: vnode lock assertion problem in nfs_link() In-Reply-To: <200209101154.g8ABsdwr094898@gw.catspoiler.org> Message-ID: <20020911000503.L1981-100000@gamplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, 10 Sep 2002, Don Lewis wrote: I have just one thing to add to Robert's reply. > BTW, is it safe to call ASSERT_VOP_UNLOCKED() in the SMP case after the > reference has been dropped with vput() or vrele()? I think it is. It has some internal locking (v_interlock at least), and only asserts that the vnode is unlocked by curthread so it doesn't matter if another thread locks it. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message