summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2014-10-25 12:54:17 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2014-10-25 12:54:17 +0000
commit29c90ef2fb4a190b9ebbe6d40b0348dcf9d711a7 (patch)
treebc0bccfe2d60b9428abc689a8922e0c9e7521de8
parent2e1696d8db2ac90b30d9e96914409e2a754d4f5f (diff)
Display uvmexp.zeropages in ddb's `show uvmexp' command.
-rw-r--r--sys/uvm/uvm_stat.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/uvm/uvm_stat.c b/sys/uvm/uvm_stat.c
index 2f8d22685bc..97173f25a8a 100644
--- a/sys/uvm/uvm_stat.c
+++ b/sys/uvm/uvm_stat.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvm_stat.c,v 1.27 2014/07/11 16:35:40 jsg Exp $ */
+/* $OpenBSD: uvm_stat.c,v 1.28 2014/10/25 12:54:16 miod Exp $ */
/* $NetBSD: uvm_stat.c,v 1.18 2001/03/09 01:02:13 chs Exp $ */
/*
@@ -51,9 +51,9 @@ uvmexp_print(int (*pr)(const char *, ...))
(*pr)(" pagesize=%d (0x%x), pagemask=0x%x, pageshift=%d\n",
uvmexp.pagesize, uvmexp.pagesize, uvmexp.pagemask,
uvmexp.pageshift);
- (*pr)(" %d VM pages: %d active, %d inactive, %d wired, %d free\n",
+ (*pr)(" %d VM pages: %d active, %d inactive, %d wired, %d free (%d zero)\n",
uvmexp.npages, uvmexp.active, uvmexp.inactive, uvmexp.wired,
- uvmexp.free);
+ uvmexp.free, uvmexp.zeropages);
(*pr)(" min %d%% (%d) anon, %d%% (%d) vnode, %d%% (%d) vtext\n",
uvmexp.anonminpct, uvmexp.anonmin, uvmexp.vnodeminpct,
uvmexp.vnodemin, uvmexp.vtextminpct, uvmexp.vtextmin);