Author: markj
Date: Sat Nov 17 19:02:50 2018
New Revision: 340506
URL: https://svnweb.freebsd.org/changeset/base/340506

Log:
  MFC r340174:
  Initialize last_target in the laundry thread control loop.

Modified:
  stable/12/sys/vm/vm_pageout.c
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/sys/vm/vm_pageout.c
==============================================================================
--- stable/12/sys/vm/vm_pageout.c       Sat Nov 17 19:01:40 2018        
(r340505)
+++ stable/12/sys/vm/vm_pageout.c       Sat Nov 17 19:02:50 2018        
(r340506)
@@ -973,7 +973,7 @@ vm_pageout_laundry_worker(void *arg)
        shortfall = 0;
        in_shortfall = false;
        shortfall_cycle = 0;
-       target = 0;
+       last_target = target = 0;
        nfreed = 0;
 
        /*
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to