PERFORCE change 123920 for review
Oleksandr Tymoshenko
gonzo at FreeBSD.org
Sun Jul 22 17:52:12 UTC 2007
http://perforce.freebsd.org/chv.cgi?CH=123920
Change 123920 by gonzo at gonzo_jeeves on 2007/07/22 17:51:43
o Add parameters for free pages lists managing. Mostly
borrowed from -arm tree.
Affected files ...
.. //depot/projects/mips2/src/sys/mips/include/vmparam.h#9 edit
Differences ...
==== //depot/projects/mips2/src/sys/mips/include/vmparam.h#9 (text+ko) ====
@@ -101,6 +101,40 @@
#endif
/*
+ * max number of non-contig chunks of physical RAM you can have
+ */
+#define VM_PHYSSEG_MAX 32
+
+/*
+ * The physical address space is densely populated.
+ */
+#define VM_PHYSSEG_DENSE
+
+/*
+ * Create two free page pools: VM_FREEPOOL_DEFAULT is the default pool
+ * from which physical pages are allocated and VM_FREEPOOL_DIRECT is
+ * the pool from which physical pages for small UMA objects are
+ * allocated.
+ */
+#define VM_NFREEPOOL 2
+#define VM_FREEPOOL_DEFAULT 0
+#define VM_FREEPOOL_DIRECT 1
+
+/*
+ * we support 1 free list:
+ *
+ * - DEFAULT for all systems
+ */
+
+#define VM_NFREELIST 1
+#define VM_FREELIST_DEFAULT 0
+
+/*
+ * The largest allocation size is 1MB.
+ */
+#define VM_NFREEORDER 9
+
+/*
* XXXMIPS: This values need to be changed!!!
*/
#define VM_MIN_ADDRESS ((vm_offset_t)0x0000000000010000)
More information about the p4-projects
mailing list