svn commit: r206814 - head/sys/vm

Alan Cox alc at FreeBSD.org
Sun Apr 18 21:29:28 UTC 2010


Author: alc
Date: Sun Apr 18 21:29:28 2010
New Revision: 206814
URL: http://svn.freebsd.org/changeset/base/206814

Log:
  Remove a nonsensical test from vm_pageout_clean().  A page can't be in the
  inactive queue and have a non-zero wire count.
  
  Reviewed by:	kib
  MFC after:	3 weeks

Modified:
  head/sys/vm/vm_pageout.c

Modified: head/sys/vm/vm_pageout.c
==============================================================================
--- head/sys/vm/vm_pageout.c	Sun Apr 18 21:26:59 2010	(r206813)
+++ head/sys/vm/vm_pageout.c	Sun Apr 18 21:29:28 2010	(r206814)
@@ -350,7 +350,6 @@ more:
 		vm_page_test_dirty(p);
 		if (p->dirty == 0 ||
 		    p->queue != PQ_INACTIVE ||
-		    p->wire_count != 0 ||	/* may be held by buf cache */
 		    p->hold_count != 0) {	/* may be undergoing I/O */
 			ib = 0;
 			break;
@@ -378,7 +377,6 @@ more:
 		vm_page_test_dirty(p);
 		if (p->dirty == 0 ||
 		    p->queue != PQ_INACTIVE ||
-		    p->wire_count != 0 ||	/* may be held by buf cache */
 		    p->hold_count != 0) {	/* may be undergoing I/O */
 			break;
 		}


More information about the svn-src-all mailing list