aboutsummaryrefslogtreecommitdiff
path: root/sys/vm
diff options
context:
space:
mode:
authorMatthew Dillon <dillon@FreeBSD.org>2002-08-31 21:15:29 +0000
committerMatthew Dillon <dillon@FreeBSD.org>2002-08-31 21:15:29 +0000
commitec61f55d42fcc8dcc7b7127b679895eab5c90f5a (patch)
tree8d18c05ec24ac093fd6c805468b9b96731525249 /sys/vm
parente0444818b278e2289ae050aeee308baf216fec2a (diff)
Notes
Diffstat (limited to 'sys/vm')
-rw-r--r--sys/vm/swap_pager.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/vm/swap_pager.c b/sys/vm/swap_pager.c
index 7dc703cbb12fa..53ad161a86cb1 100644
--- a/sys/vm/swap_pager.c
+++ b/sys/vm/swap_pager.c
@@ -314,9 +314,9 @@ swap_pager_swap_init()
* Initialize our zone. Right now I'm just guessing on the number
* we need based on the number of pages in the system. Each swblock
* can hold 16 pages, so this is probably overkill. This reservation
- * is typically limited to around 70MB by default.
+ * is typically limited to around 32MB by default.
*/
- n = cnt.v_page_count;
+ n = cnt.v_page_count / 2;
if (maxswzone && n > maxswzone / sizeof(struct swblock))
n = maxswzone / sizeof(struct swblock);
n2 = n;