summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2013-05-14 20:15:26 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2013-05-14 20:15:26 +0000
commitd30e33b1f3d6a0b9752bd9b8560c91f5e4970e2f (patch)
treea1d3e44fe34d7689887a7b70c0e76a60d24517c2 /sys
parent3d9a18849a92316ad3f00a9d6d89a19b6f81bd69 (diff)
Remove `swapin' and `swapout' from uvm statistics, since we don't swap out
u areas since quite a few years now.
Diffstat (limited to 'sys')
-rw-r--r--sys/uvm/uvm_extern.h4
-rw-r--r--sys/uvm/uvm_stat.c7
2 files changed, 4 insertions, 7 deletions
diff --git a/sys/uvm/uvm_extern.h b/sys/uvm/uvm_extern.h
index 991a44d4776..8fb82613fb6 100644
--- a/sys/uvm/uvm_extern.h
+++ b/sys/uvm/uvm_extern.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvm_extern.h,v 1.104 2012/03/09 13:01:29 ariane Exp $ */
+/* $OpenBSD: uvm_extern.h,v 1.105 2013/05/14 20:15:25 miod Exp $ */
/* $NetBSD: uvm_extern.h,v 1.57 2001/03/09 01:02:12 chs Exp $ */
/*
@@ -333,8 +333,6 @@ struct uvmexp {
int syscalls; /* system calls */
int pageins; /* pagein operation count */
/* pageouts are in pdpageouts below */
- int swapins; /* swapins */
- int swapouts; /* swapouts */
int pgswapin; /* pages swapped in */
int pgswapout; /* pages swapped out */
int forks; /* forks */
diff --git a/sys/uvm/uvm_stat.c b/sys/uvm/uvm_stat.c
index a945cf48ede..66443e7aee5 100644
--- a/sys/uvm/uvm_stat.c
+++ b/sys/uvm/uvm_stat.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvm_stat.c,v 1.25 2011/07/03 18:36:51 oga Exp $ */
+/* $OpenBSD: uvm_stat.c,v 1.26 2013/05/14 20:15:25 miod Exp $ */
/* $NetBSD: uvm_stat.c,v 1.18 2001/03/09 01:02:13 chs Exp $ */
/*
@@ -72,9 +72,8 @@ uvmexp_print(int (*pr)(const char *, ...))
(*pr)(" faults=%d, traps=%d, intrs=%d, ctxswitch=%d fpuswitch=%d\n",
uvmexp.faults, uvmexp.traps, uvmexp.intrs, uvmexp.swtch,
uvmexp.fpswtch);
- (*pr)(" softint=%d, syscalls=%d, swapins=%d, swapouts=%d, "
- "kmapent=%d\n", uvmexp.softs, uvmexp.syscalls, uvmexp.swapins,
- uvmexp.swapouts, uvmexp.kmapent);
+ (*pr)(" softint=%d, syscalls=%d, kmapent=%d\n",
+ uvmexp.softs, uvmexp.syscalls, uvmexp.kmapent);
(*pr)(" fault counts:\n");
(*pr)(" noram=%d, noanon=%d, pgwait=%d, pgrele=%d\n",