summaryrefslogtreecommitdiffstats
path: root/sys/i386/include/param.h
diff options
context:
space:
mode:
authordillon <dillon@FreeBSD.org>2002-08-31 21:15:29 +0000
committerdillon <dillon@FreeBSD.org>2002-08-31 21:15:29 +0000
commit1703af0c56813289ea298b2b5a59770581a1f8ae (patch)
tree8d18c05ec24ac093fd6c805468b9b96731525249 /sys/i386/include/param.h
parent9e3c08d6b113d845f55b0e7ff27cf14a5475d53d (diff)
downloadFreeBSD-src-1703af0c56813289ea298b2b5a59770581a1f8ae.zip
FreeBSD-src-1703af0c56813289ea298b2b5a59770581a1f8ae.tar.gz
Reduce the maximum KVA reserved for swap meta structures from 70 to 32 MB.
Reduce the swap meta calculation by a factor of 2, it's still massive overkill. X-MFC after: immediately
Diffstat (limited to 'sys/i386/include/param.h')
-rw-r--r--sys/i386/include/param.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/i386/include/param.h b/sys/i386/include/param.h
index f22c7ff..bdc1057 100644
--- a/sys/i386/include/param.h
+++ b/sys/i386/include/param.h
@@ -109,15 +109,17 @@
#define KSTACK_GUARD /* compile in the kstack guard page */
/*
- * Ceiling on amount of swblock kva space.
+ * Ceiling on amount of swblock kva space, can be changed via
+ * the kern.maxswzone /boot/loader.conf variable.
*/
#ifndef VM_SWZONE_SIZE_MAX
-#define VM_SWZONE_SIZE_MAX (70 * 1024 * 1024)
+#define VM_SWZONE_SIZE_MAX (32 * 1024 * 1024)
#endif
/*
* Ceiling on size of buffer cache (really only effects write queueing,
- * the VM page cache is not effected).
+ * the VM page cache is not effected), can be changed via
+ * the kern.maxbcache /boot/loader.conf variable.
*/
#ifndef VM_BCACHE_SIZE_MAX
#define VM_BCACHE_SIZE_MAX (200 * 1024 * 1024)
OpenPOWER on IntegriCloud