Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Oct 2016 00:07:21 +0000 (UTC)
From:      Alan Cox <alc@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r306835 - user/alc/PQ_LAUNDRY/sys/vm
Message-ID:  <201610080007.u9807Lrd083502@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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