svn commit: r253583 - head/sys/vm

Jeff Roberson jeff at FreeBSD.org
Tue Jul 23 22:52:39 UTC 2013


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)


More information about the svn-src-all mailing list