diff options
author | dyson <dyson@FreeBSD.org> | 1997-12-06 02:23:36 +0000 |
---|---|---|
committer | dyson <dyson@FreeBSD.org> | 1997-12-06 02:23:36 +0000 |
commit | 9821c0958535e623d28d6d4fc1d1ac205a20ec36 (patch) | |
tree | 7dbaa6d125430232eab4110cf90936cee97c5681 /sys/vm/vm_pageout.h | |
parent | 074a0947ba0b6d339ddd0b0502e2d3c273219533 (diff) | |
download | FreeBSD-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.h | 8 |
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. */ |