Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Nov 2018 19:02:50 +0000 (UTC)
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r340506 - stable/12/sys/vm
Message-ID:  <201811171902.wAHJ2oa9021025@repo.freebsd.org>

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



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