Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Feb 2016 20:04:41 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r295998 - head/share/man/man9
Message-ID:  <201602242004.u1OK4fxW039823@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kib
Date: Wed Feb 24 20:04:41 2016
New Revision: 295998
URL: https://svnweb.freebsd.org/changeset/base/295998

Log:
  Remove references to Giant in the description of vrele(9).  Add notes
  about vnode lock and sleeping.
  
  Reported by:	julian
  Sponsored by:	The FreeBSD Foundation
  MFC after:	2 weeks

Modified:
  head/share/man/man9/vrele.9

Modified: head/share/man/man9/vrele.9
==============================================================================
--- head/share/man/man9/vrele.9	Wed Feb 24 20:02:58 2016	(r295997)
+++ head/share/man/man9/vrele.9	Wed Feb 24 20:04:41 2016	(r295998)
@@ -29,7 +29,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd November 20, 2010
+.Dd February 24, 2015
 .Dt VRELE 9
 .Os
 .Sh NAME
@@ -81,9 +81,11 @@ If the
 .Va v_usecount
 field of the non-doomed vnode reaches zero, then it will be inactivated
 and placed on the free list.
-Since the functions might need to call VOPs for the vnode, the
-.Va Giant
-mutex should be conditionally locked around the call.
+.Pp
+The
+.Fn vrele
+function may lock the vnode.
+All three functions may sleep.
 .Pp
 The hold count for the vnode is always greater or equal to the usecount.
 Non-forced unmount fails when mount point owns a vnode that has non-zero



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