summaryrefslogtreecommitdiffstats
path: root/bin/ps
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2011-01-09 12:50:44 +0000
committerkib <kib@FreeBSD.org>2011-01-09 12:50:44 +0000
commit4f8260e700b5765d95a10d02fa5cccd633ac0954 (patch)
tree185b41ec088e628403e26ab0d571fc79249b094f /bin/ps
parentb2e3ee7d07d38a011d50e0ce65fe146aafb5c939 (diff)
downloadFreeBSD-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 'bin/ps')
-rw-r--r--bin/ps/print.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/ps/print.c b/bin/ps/print.c
index cc33cdd..5aa27c0 100644
--- a/bin/ps/print.c
+++ b/bin/ps/print.c
@@ -45,6 +45,7 @@ __FBSDID("$FreeBSD$");
#include <sys/mac.h>
#include <sys/user.h>
#include <sys/sysctl.h>
+#include <sys/vmmeter.h>
#include <err.h>
#include <grp.h>
OpenPOWER on IntegriCloud