Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/yamt-pagecache]: src might dirty -> possibly dirty



details:   https://anonhg.NetBSD.org/src/rev/aed02cdc29eb
branches:  yamt-pagecache
changeset: 770832:aed02cdc29eb
user:      yamt <yamt%NetBSD.org@localhost>
date:      Mon Nov 14 14:24:54 2011 +0000

description:
might dirty -> possibly dirty
suggested by wiz@

diffstat:

 sys/uvm/uvm_extern.h    |   6 +++---
 sys/uvm/uvm_meter.c     |   8 ++++----
 usr.bin/vmstat/vmstat.c |  12 ++++++------
 3 files changed, 13 insertions(+), 13 deletions(-)

diffs (91 lines):

diff -r c4f52d3483c8 -r aed02cdc29eb sys/uvm/uvm_extern.h
--- 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;
 };
diff -r c4f52d3483c8 -r aed02cdc29eb sys/uvm/uvm_meter.c
--- 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];
diff -r c4f52d3483c8 -r aed02cdc29eb usr.bin/vmstat/vmstat.c
--- 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);
        }



Home | Main Index | Thread Index | Old Index