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

Alan Cox alc at FreeBSD.org
Mon Oct 24 21:33:01 UTC 2016


Author: alc
Date: Mon Oct 24 21:33:00 2016
New Revision: 307886
URL: https://svnweb.freebsd.org/changeset/base/307886

Log:
  Colocate a related variable and SYSCTL.

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	Mon Oct 24 21:31:47 2016	(r307885)
+++ user/alc/PQ_LAUNDRY/sys/vm/vm_pageout.c	Mon Oct 24 21:33:00 2016	(r307886)
@@ -184,7 +184,6 @@ static int vm_pageout_update_period;
 static int disable_swap_pageouts;
 static int lowmem_period = 10;
 static time_t lowmem_uptime;
-static u_int vm_background_launder_target;
 
 #if defined(NO_SWAPPING)
 static int vm_swap_enabled = 0;
@@ -239,6 +238,7 @@ SYSCTL_INT(_vm, OID_AUTO, act_scan_laund
 	CTLFLAG_RW, &act_scan_laundry_weight, 0,
 	"weight given to clean vs. dirty pages in active queue scans");
 
+static u_int vm_background_launder_target;
 SYSCTL_UINT(_vm, OID_AUTO, background_launder_target,
 	CTLFLAG_RW, &vm_background_launder_target, 0,
 	"background laundering target, in pages");


More information about the svn-src-user mailing list