Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Jul 2013 22:52:39 +0000 (UTC)
From:      Jeff Roberson <jeff@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r253583 - head/sys/vm
Message-ID:  <201307232252.r6NMqdF0096648@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jeff
Date: Tue Jul 23 22:52:38 2013
New Revision: 253583
URL: http://svnweb.freebsd.org/changeset/base/253583

Log:
   - Correct a stale comment.  We don't have vclean() anymore.  The work is
     done by vgonel() and destroy_vobject() should only be called once from
     VOP_INACTIVE().
  
  Sponsored by:	EMC / Isilon Storage Division

Modified:
  head/sys/vm/vnode_pager.c

Modified: head/sys/vm/vnode_pager.c
==============================================================================
--- head/sys/vm/vnode_pager.c	Tue Jul 23 22:17:00 2013	(r253582)
+++ head/sys/vm/vnode_pager.c	Tue Jul 23 22:52:38 2013	(r253583)
@@ -158,11 +158,6 @@ vnode_destroy_vobject(struct vnode *vp)
 	VM_OBJECT_WLOCK(obj);
 	if (obj->ref_count == 0) {
 		/*
-		 * vclean() may be called twice. The first time
-		 * removes the primary reference to the object,
-		 * the second time goes one further and is a
-		 * special-case to terminate the object.
-		 *
 		 * don't double-terminate the object
 		 */
 		if ((obj->flags & OBJ_DEAD) == 0)



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