Source-Changes-HG archive

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

[src/trunk]: src/sys/uvm uvmexp_print: print swpgavail as well.



details:   https://anonhg.NetBSD.org/src/rev/9c1722591333
branches:  trunk
changeset: 580517:9c1722591333
user:      yamt <yamt%NetBSD.org@localhost>
date:      Wed Apr 27 11:02:43 2005 +0000

description:
uvmexp_print: print swpgavail as well.

diffstat:

 sys/uvm/uvm_stat.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r a94bcd88f2c7 -r 9c1722591333 sys/uvm/uvm_stat.c
--- a/sys/uvm/uvm_stat.c        Wed Apr 27 09:51:52 2005 +0000
+++ b/sys/uvm/uvm_stat.c        Wed Apr 27 11:02:43 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uvm_stat.c,v 1.25 2004/11/23 04:51:56 yamt Exp $        */
+/*     $NetBSD: uvm_stat.c,v 1.26 2005/04/27 11:02:43 yamt Exp $        */
 
 /*
  *
@@ -39,7 +39,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uvm_stat.c,v 1.25 2004/11/23 04:51:56 yamt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_stat.c,v 1.26 2005/04/27 11:02:43 yamt Exp $");
 
 #include "opt_uvmhist.h"
 #include "opt_ddb.h"
@@ -249,5 +249,7 @@
            uvmexp.nfreeanon);
        (*pr)("    swpages=%d, swpginuse=%d, swpgonly=%d paging=%d\n",
            uvmexp.swpages, uvmexp.swpginuse, uvmexp.swpgonly, uvmexp.paging);
+       (*pr)("    swpgavail=%d\n",
+           uvmexp.swpgavail);
 }
 #endif



Home | Main Index | Thread Index | Old Index