might dirty -> possibly dirty yamt-pagecache
authoryamt <yamt@NetBSD.org>
Mon, 14 Nov 2011 14:24:54 +0000
branchyamt-pagecache
changeset 280317 fc28213d041b
parent 280316 1c334e6a72c6
child 280318 b5710c7b89f0
might dirty -> possibly dirty suggested by wiz@
sys/uvm/uvm_extern.h
sys/uvm/uvm_meter.c
usr.bin/vmstat/vmstat.c
--- a/sys/uvm/uvm_extern.h	Mon Nov 14 14:23:16 2011 +0000
+++ b/sys/uvm/uvm_extern.h	Mon Nov 14 14:24:54 2011 +0000
@@ -1,4 +1,4 @@
-/*	$NetBSD: uvm_extern.h,v 1.176.2.2 2011/11/12 02:54:04 yamt Exp $	*/
+/*	$NetBSD: uvm_extern.h,v 1.176.2.3 2011/11/14 14:24:54 yamt Exp $	*/
 
 /*
  * Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -456,10 +456,10 @@
 	int64_t colorhit;
 	int64_t colormiss;
 	int64_t ncolors;
-	int64_t mightdirtypages;
+	int64_t possiblydirtypages;
 	int64_t cleanpages;
 	int64_t dirtypages;
-	int64_t mightdirtyanonpages;
+	int64_t possiblydirtyanonpages;
 	int64_t cleananonpages;
 	int64_t dirtyanonpages;
 };
--- a/sys/uvm/uvm_meter.c	Mon Nov 14 14:23:16 2011 +0000
+++ b/sys/uvm/uvm_meter.c	Mon Nov 14 14:24:54 2011 +0000
@@ -1,4 +1,4 @@
-/*	$NetBSD: uvm_meter.c,v 1.56.4.3 2011/11/13 01:36:25 yamt Exp $	*/
+/*	$NetBSD: uvm_meter.c,v 1.56.4.4 2011/11/14 14:24:54 yamt Exp $	*/
 
 /*
  * Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -36,7 +36,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uvm_meter.c,v 1.56.4.3 2011/11/13 01:36:25 yamt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_meter.c,v 1.56.4.4 2011/11/14 14:24:54 yamt Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -179,11 +179,11 @@
 	for (CPU_INFO_FOREACH(cii, ci)) {
 		struct uvm_cpu *ucpu = ci->ci_data.cpu_uvm;
 
-		u.mightdirtypages +=
+		u.possiblydirtypages +=
 		    ucpu->pagestate[0][UVM_PAGE_STATUS_UNKNOWN];
 		u.cleanpages += ucpu->pagestate[0][UVM_PAGE_STATUS_CLEAN];
 		u.dirtypages += ucpu->pagestate[0][UVM_PAGE_STATUS_DIRTY];
-		u.mightdirtyanonpages +=
+		u.possiblydirtyanonpages +=
 		    ucpu->pagestate[1][UVM_PAGE_STATUS_UNKNOWN];
 		u.cleananonpages += ucpu->pagestate[1][UVM_PAGE_STATUS_CLEAN];
 		u.dirtyanonpages += ucpu->pagestate[1][UVM_PAGE_STATUS_DIRTY];
--- a/usr.bin/vmstat/vmstat.c	Mon Nov 14 14:23:16 2011 +0000
+++ b/usr.bin/vmstat/vmstat.c	Mon Nov 14 14:24:54 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vmstat.c,v 1.186.2.1 2011/11/12 04:12:52 yamt Exp $ */
+/* $NetBSD: vmstat.c,v 1.186.2.2 2011/11/14 14:27:53 yamt Exp $ */
 
 /*-
  * Copyright (c) 1998, 2000, 2001, 2007 The NetBSD Foundation, Inc.
@@ -70,7 +70,7 @@
 #if 0
 static char sccsid[] = "@(#)vmstat.c	8.2 (Berkeley) 3/1/95";
 #else
-__RCSID("$NetBSD: vmstat.c,v 1.186.2.1 2011/11/12 04:12:52 yamt Exp $");
+__RCSID("$NetBSD: vmstat.c,v 1.186.2.2 2011/11/14 14:27:53 yamt Exp $");
 #endif
 #endif /* not lint */
 
@@ -894,14 +894,14 @@
 		(void)printf("%9" PRIu64 " pages inactive\n", uvmexp2.inactive);
 		(void)printf("%9" PRIu64 " file pages known clean\n",
 		    uvmexp2.cleanpages);
-		(void)printf("%9" PRIu64 " file pages might dirty\n",
-		    uvmexp2.mightdirtypages);
+		(void)printf("%9" PRIu64 " file pages possibly dirty\n",
+		    uvmexp2.possiblydirtypages);
 		(void)printf("%9" PRIu64 " file pages known dirty\n",
 		    uvmexp2.dirtypages);
 		(void)printf("%9" PRIu64 " anonymous pages known clean\n",
 		    uvmexp2.cleananonpages);
-		(void)printf("%9" PRIu64 " anonymous pages might dirty\n",
-		    uvmexp2.mightdirtyanonpages);
+		(void)printf("%9" PRIu64 " anonymous pages possibly dirty\n",
+		    uvmexp2.possiblydirtyanonpages);
 		(void)printf("%9" PRIu64 " anonymous pages known dirty\n",
 		    uvmexp2.dirtyanonpages);
 	}