diff options
author | kib <kib@FreeBSD.org> | 2011-01-09 12:50:44 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2011-01-09 12:50:44 +0000 |
commit | 4f8260e700b5765d95a10d02fa5cccd633ac0954 (patch) | |
tree | 185b41ec088e628403e26ab0d571fc79249b094f /sys/sys/vmmeter.h | |
parent | b2e3ee7d07d38a011d50e0ce65fe146aafb5c939 (diff) | |
download | FreeBSD-src-4f8260e700b5765d95a10d02fa5cccd633ac0954.zip FreeBSD-src-4f8260e700b5765d95a10d02fa5cccd633ac0954.tar.gz |
Move repeated MAXSLP definition from machine/vmparam.h to sys/vmmeter.h.
Update the outdated comments describing MAXSLP and the process
selection algorithm for swap out.
Comments wording and reviewed by: alc
Diffstat (limited to 'sys/sys/vmmeter.h')
-rw-r--r-- | sys/sys/vmmeter.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/sys/vmmeter.h b/sys/sys/vmmeter.h index 9d74611..99531a6 100644 --- a/sys/sys/vmmeter.h +++ b/sys/sys/vmmeter.h @@ -34,6 +34,12 @@ #define _SYS_VMMETER_H_ /* + * This value is used by ps(1) to change sleep state flag from 'S' to + * 'I' and by the sched process to set the alarm clock. + */ +#define MAXSLP 20 + +/* * System wide statistics counters. * Locking: * a - locked by atomic operations |