Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/uvm Print the number of page colors in use with db> show...
details: https://anonhg.NetBSD.org/src/rev/3fadec0c20e4
branches: trunk
changeset: 760383:3fadec0c20e4
user: matt <matt%NetBSD.org@localhost>
date: Tue Jan 04 08:17:01 2011 +0000
description:
Print the number of page colors in use with db> show uvm
diffstat:
sys/uvm/uvm_stat.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (30 lines):
diff -r 98c44493dd6b -r 3fadec0c20e4 sys/uvm/uvm_stat.c
--- a/sys/uvm/uvm_stat.c Tue Jan 04 07:43:42 2011 +0000
+++ b/sys/uvm/uvm_stat.c Tue Jan 04 08:17:01 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uvm_stat.c,v 1.33 2010/12/20 00:25:48 matt Exp $ */
+/* $NetBSD: uvm_stat.c,v 1.34 2011/01/04 08:17:01 matt Exp $ */
/*
*
@@ -39,7 +39,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uvm_stat.c,v 1.33 2010/12/20 00:25:48 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_stat.c,v 1.34 2011/01/04 08:17:01 matt Exp $");
#include "opt_uvmhist.h"
#include "opt_readahead.h"
@@ -215,9 +215,9 @@
uvm_estimatepageable(&active, &inactive);
(*pr)("Current UVM status:\n");
- (*pr)(" pagesize=%d (0x%x), pagemask=0x%x, pageshift=%d\n",
+ (*pr)(" pagesize=%d (0x%x), pagemask=0x%x, pageshift=%d\n, ncolors=%d",
uvmexp.pagesize, uvmexp.pagesize, uvmexp.pagemask,
- uvmexp.pageshift);
+ uvmexp.pageshift, uvmexp.ncolors);
(*pr)(" %d VM pages: %d active, %d inactive, %d wired, %d free\n",
uvmexp.npages, active, inactive, uvmexp.wired,
uvmexp.free);
Home |
Main Index |
Thread Index |
Old Index