svn commit: r306835 - user/alc/PQ_LAUNDRY/sys/vm

Alan Cox alc at FreeBSD.org
Sat Oct 8 00:07:22 UTC 2016


Author: alc
Date: Sat Oct  8 00:07:20 2016
New Revision: 306835
URL: https://svnweb.freebsd.org/changeset/base/306835

Log:
  Revert one line of r306595.  The variable "shortfall" is reset each time
  that the laundry thread wakes up, so it can't be used to tell if a shortfall
  laundering is in progress.
  
  Reviewed by:	markj

Modified:
  user/alc/PQ_LAUNDRY/sys/vm/vm_pageout.c

Modified: user/alc/PQ_LAUNDRY/sys/vm/vm_pageout.c
==============================================================================
--- user/alc/PQ_LAUNDRY/sys/vm/vm_pageout.c	Sat Oct  8 00:01:07 2016	(r306834)
+++ user/alc/PQ_LAUNDRY/sys/vm/vm_pageout.c	Sat Oct  8 00:07:20 2016	(r306835)
@@ -1217,7 +1217,7 @@ dolaundry:
 			 * a cluster minus one. 
 			 */
 			target -= min(vm_pageout_launder(domain, launder,
-			    shortfall > 0), target);
+			    prev_shortfall > 0), target);
 
 		/*
 		 * Sleep for a little bit if we're in the middle of a laundering


More information about the svn-src-user mailing list