summaryrefslogtreecommitdiffstats
path: root/sys/vm/vm_pageout.h
diff options
context:
space:
mode:
authordyson <dyson@FreeBSD.org>1997-12-06 02:23:36 +0000
committerdyson <dyson@FreeBSD.org>1997-12-06 02:23:36 +0000
commit9821c0958535e623d28d6d4fc1d1ac205a20ec36 (patch)
tree7dbaa6d125430232eab4110cf90936cee97c5681 /sys/vm/vm_pageout.h
parent074a0947ba0b6d339ddd0b0502e2d3c273219533 (diff)
downloadFreeBSD-src-9821c0958535e623d28d6d4fc1d1ac205a20ec36.zip
FreeBSD-src-9821c0958535e623d28d6d4fc1d1ac205a20ec36.tar.gz
Support an optional, sysctl enabled feature of idle process swapout. This
is apparently useful for large shell systems, or systems with long running idle processes. To enable the feature: sysctl -w vm.swap_idle_enabled=1 Please note that some of the other vm sysctl variables have been renamed to be more accurate. Submitted by: Much of it from Matt Dillon <dillon@best.net>
Diffstat (limited to 'sys/vm/vm_pageout.h')
-rw-r--r--sys/vm/vm_pageout.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/vm/vm_pageout.h b/sys/vm/vm_pageout.h
index 488f8c4..ab2608a 100644
--- a/sys/vm/vm_pageout.h
+++ b/sys/vm/vm_pageout.h
@@ -61,7 +61,7 @@
* any improvements or extensions that they make and grant Carnegie the
* rights to redistribute these changes.
*
- * $Id$
+ * $Id: vm_pageout.h,v 1.20 1997/02/22 09:48:34 peter Exp $
*/
#ifndef _VM_VM_PAGEOUT_H_
@@ -84,6 +84,12 @@ extern int vm_pageout_pages_needed;
#define VM_PAGEOUT_FORCE 2
/*
+ * Swap out requests
+ */
+#define VM_SWAP_NORMAL 1
+#define VM_SWAP_IDLE 2
+
+/*
* Exported routines.
*/
OpenPOWER on IntegriCloud