diff options
author | phk <phk@FreeBSD.org> | 2003-07-17 21:58:43 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2003-07-17 21:58:43 +0000 |
commit | a8381d2cc61629f3339ae3e98378fa121d79a558 (patch) | |
tree | 9f10ab66fbc968a1723e93004b07c26294b29311 /sys/vm/swap_pager.c | |
parent | 65110ffbfb7df72fe495ad0b113e899d173b0378 (diff) | |
download | FreeBSD-src-a8381d2cc61629f3339ae3e98378fa121d79a558.zip FreeBSD-src-a8381d2cc61629f3339ae3e98378fa121d79a558.tar.gz |
Make sure that SWP_NPAGES always has the same value in all source
files, so that SWAP_META_PAGES does not vary either.
swap_pager.c ended up with a value of 16, everybody else 8. Go with
the 16 for now.
This should only have any effect in the "kill processes because we
are out of swap" scenario, where it will make some sort of estimate
of something more precise.
Diffstat (limited to 'sys/vm/swap_pager.c')
-rw-r--r-- | sys/vm/swap_pager.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/vm/swap_pager.c b/sys/vm/swap_pager.c index f6ca7c7..752974c 100644 --- a/sys/vm/swap_pager.c +++ b/sys/vm/swap_pager.c @@ -83,12 +83,6 @@ __FBSDID("$FreeBSD$"); #include <sys/sx.h> #include <sys/vmmeter.h> -#ifndef MAX_PAGEOUT_CLUSTER -#define MAX_PAGEOUT_CLUSTER 16 -#endif - -#define SWB_NPAGES MAX_PAGEOUT_CLUSTER - #include "opt_swap.h" #include <vm/vm.h> #include <vm/pmap.h> |