PERFORCE change 28093 for review

Peter Wemm peter at FreeBSD.org
Fri Apr 4 16:58:48 PST 2003


http://perforce.freebsd.org/chv.cgi?CH=28093

Change 28093 by peter at peter_overcee on 2003/04/04 16:58:14

	missing bits for kernel configuration

Affected files ...

.. //depot/projects/hammer/sys/x86_64/include/param.h#7 edit

Differences ...

==== //depot/projects/hammer/sys/x86_64/include/param.h#7 (text+ko) ====

@@ -121,6 +121,23 @@
 #define KSTACK_GUARD	1	/* compile in the kstack guard page */
 
 /*
+ * 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	(32 * 1024 * 1024)
+#endif
+
+/*
+ * Ceiling on size of buffer cache (really only effects write queueing,
+ * 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)
+#endif
+
+/*
  * Mach derived conversion macros
  */
 #define	round_page(x)	((((unsigned long)(x)) + PAGE_MASK) & ~(PAGE_MASK))


More information about the p4-projects mailing list