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_anon.h | |
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_anon.h')
-rw-r--r-- | sys/uvm/uvm_anon.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/uvm/uvm_anon.h b/sys/uvm/uvm_anon.h index e4ef0b57561..c7a743f2d07 100644 --- a/sys/uvm/uvm_anon.h +++ b/sys/uvm/uvm_anon.h @@ -1,5 +1,5 @@ -/* $OpenBSD: uvm_anon.h,v 1.6 2001/03/09 05:34:38 smart Exp $ */ -/* $NetBSD: uvm_anon.h,v 1.11 1999/06/21 17:25:11 thorpej Exp $ */ +/* $OpenBSD: uvm_anon.h,v 1.7 2001/07/26 19:37:13 art Exp $ */ +/* $NetBSD: uvm_anon.h,v 1.12 2000/01/11 06:57:49 chs Exp $ */ /* * @@ -103,9 +103,10 @@ struct vm_anon *uvm_analloc __P((void)); void uvm_anfree __P((struct vm_anon *)); void uvm_anon_init __P((void)); void uvm_anon_add __P((int)); +void uvm_anon_remove __P((int)); struct vm_page *uvm_anon_lockloanpg __P((struct vm_anon *)); void uvm_anon_dropswap __P((struct vm_anon *)); - +boolean_t anon_swap_off __P((int, int)); #endif /* _KERNEL */ #endif /* _UVM_UVM_ANON_H_ */ |