diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2001-07-26 19:37:14 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2001-07-26 19:37:14 +0000 |
commit | 34736e0579123f60efbe00cf506fd4b82e5b769a (patch) | |
tree | 1e8806da205009ef73327c70f28319fe7e5df798 /sys/uvm/uvm_stat.c | |
parent | 78e879ae8deee32b2668976fbffb5a125629ba39 (diff) |
Add support for disabling swap devices (swapctl -d).
Improve error handling on I/O errors to swap.
From NetBSD
Diffstat (limited to 'sys/uvm/uvm_stat.c')
-rw-r--r-- | sys/uvm/uvm_stat.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/sys/uvm/uvm_stat.c b/sys/uvm/uvm_stat.c index 72a18d26589..5cc7045457d 100644 --- a/sys/uvm/uvm_stat.c +++ b/sys/uvm/uvm_stat.c @@ -1,5 +1,5 @@ -/* $OpenBSD: uvm_stat.c,v 1.5 2001/01/29 02:07:48 niklas Exp $ */ -/* $NetBSD: uvm_stat.c,v 1.12 1999/03/26 17:34:16 chs Exp $ */ +/* $OpenBSD: uvm_stat.c,v 1.6 2001/07/26 19:37:13 art Exp $ */ +/* $NetBSD: uvm_stat.c,v 1.13 2000/01/11 06:57:50 chs Exp $ */ /* * @@ -241,8 +241,9 @@ uvm_dump() uvmexp.pdbusy, uvmexp.pdfreed, uvmexp.pdreact, uvmexp.pddeact); printf(" pageouts=%d, pending=%d, nswget=%d\n", uvmexp.pdpageouts, uvmexp.pdpending, uvmexp.nswget); - printf(" nswapdev=%d, nanon=%d, nfreeanon=%d\n", uvmexp.nswapdev, - uvmexp.nanon, uvmexp.nfreeanon); + printf(" nswapdev=%d, nanon=%d, nanonneeded=%d nfreeanon=%d\n", + uvmexp.nswapdev, uvmexp.nanon, uvmexp.nanonneeded, + uvmexp.nfreeanon); printf(" swpages=%d, swpginuse=%d, swpgonly=%d paging=%d\n", uvmexp.swpages, uvmexp.swpginuse, uvmexp.swpgonly, uvmexp.paging); |