Module Name: src
Committed By: yamt
Date: Mon Nov 14 14:24:54 UTC 2011
Modified Files:
src/sys/uvm [yamt-pagecache]: uvm_extern.h uvm_meter.c
Log Message:
might dirty -> possibly dirty
suggested by wiz@
To generate a diff of this commit:
cvs rdiff -u -r1.176.2.2 -r1.176.2.3 src/sys/uvm/uvm_extern.h
cvs rdiff -u -r1.56.4.3 -r1.56.4.4 src/sys/uvm/uvm_meter.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/uvm/uvm_extern.h
diff -u src/sys/uvm/uvm_extern.h:1.176.2.2 src/sys/uvm/uvm_extern.h:1.176.2.3
--- src/sys/uvm/uvm_extern.h:1.176.2.2 Sat Nov 12 02:54:04 2011
+++ src/sys/uvm/uvm_extern.h Mon Nov 14 14:24:54 2011
@@ -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 @@ struct uvmexp_sysctl {
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;
};
Index: src/sys/uvm/uvm_meter.c
diff -u src/sys/uvm/uvm_meter.c:1.56.4.3 src/sys/uvm/uvm_meter.c:1.56.4.4
--- src/sys/uvm/uvm_meter.c:1.56.4.3 Sun Nov 13 01:36:25 2011
+++ src/sys/uvm/uvm_meter.c Mon Nov 14 14:24:54 2011
@@ -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 @@ sysctl_vm_uvmexp2(SYSCTLFN_ARGS)
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];