Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/uvm fix the output of ddb's "show uvmexp" and also print...
details: https://anonhg.NetBSD.org/src/rev/bc8ecf3f431e
branches: trunk
changeset: 349218:bc8ecf3f431e
user: mrg <mrg%NetBSD.org@localhost>
date: Thu Dec 01 01:59:17 2016 +0000
description:
fix the output of ddb's "show uvmexp" and also print the
reserve_pagedaemon, reserve_kernel, and zeropages values.
diffstat:
sys/uvm/uvm_stat.c | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diffs (36 lines):
diff -r 93656cafa72e -r bc8ecf3f431e sys/uvm/uvm_stat.c
--- a/sys/uvm/uvm_stat.c Thu Dec 01 01:06:12 2016 +0000
+++ b/sys/uvm/uvm_stat.c Thu Dec 01 01:59:17 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uvm_stat.c,v 1.37 2011/05/17 04:18:07 mrg Exp $ */
+/* $NetBSD: uvm_stat.c,v 1.38 2016/12/01 01:59:17 mrg Exp $ */
/*
* Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uvm_stat.c,v 1.37 2011/05/17 04:18:07 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_stat.c,v 1.38 2016/12/01 01:59:17 mrg Exp $");
#include "opt_readahead.h"
#include "opt_ddb.h"
@@ -60,7 +60,7 @@
uvm_estimatepageable(&active, &inactive);
(*pr)("Current UVM status:\n");
- (*pr)(" pagesize=%d (0x%x), pagemask=0x%x, pageshift=%d\n, ncolors=%d",
+ (*pr)(" pagesize=%d (0x%x), pagemask=0x%x, pageshift=%d, ncolors=%d\n",
uvmexp.pagesize, uvmexp.pagesize, uvmexp.pagemask,
uvmexp.pageshift, uvmexp.ncolors);
(*pr)(" %d VM pages: %d active, %d inactive, %d wired, %d free\n",
@@ -70,6 +70,8 @@
uvmexp.anonpages, uvmexp.filepages, uvmexp.execpages);
(*pr)(" freemin=%d, free-target=%d, wired-max=%d\n",
uvmexp.freemin, uvmexp.freetarg, uvmexp.wiredmax);
+ (*pr)(" resv-pg=%d, resv-kernel=%d, zeropages=%d\n",
+ uvmexp.reserve_pagedaemon, uvmexp.reserve_kernel, uvmexp.zeropages);
for (CPU_INFO_FOREACH(cii, ci)) {
(*pr)(" cpu%u:\n", cpu_index(ci));
Home |
Main Index |
Thread Index |
Old Index