diff options
author | 2013-05-14 20:15:25 +0000 | |
---|---|---|
committer | 2013-05-14 20:15:25 +0000 | |
commit | 3bdcf7464c9357a64dd141873f016f692748adc2 (patch) | |
tree | 2beb96381951e2c751f891e0653ce320b1dba07b | |
parent | keep track of the youngest child, helps a lot with out-of-date messages (diff) | |
download | wireguard-openbsd-3bdcf7464c9357a64dd141873f016f692748adc2.tar.xz wireguard-openbsd-3bdcf7464c9357a64dd141873f016f692748adc2.zip |
Remove `swapin' and `swapout' from uvm statistics, since we don't swap out
u areas since quite a few years now.
-rw-r--r-- | sys/uvm/uvm_extern.h | 4 | ||||
-rw-r--r-- | sys/uvm/uvm_stat.c | 7 |
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", |