Module Name: src
Committed By: matt
Date: Tue Jan 4 08:17:01 UTC 2011
Modified Files:
src/sys/uvm: uvm_stat.c
Log Message:
Print the number of page colors in use with db> show uvm
To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 src/sys/uvm/uvm_stat.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_stat.c
diff -u src/sys/uvm/uvm_stat.c:1.33 src/sys/uvm/uvm_stat.c:1.34
--- src/sys/uvm/uvm_stat.c:1.33 Mon Dec 20 00:25:48 2010
+++ src/sys/uvm/uvm_stat.c Tue Jan 4 08:17:01 2011
@@ -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);