Date: Sun, 22 Jul 2007 17:52:11 GMT From: Oleksandr Tymoshenko <gonzo@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 123920 for review Message-ID: <200707221752.l6MHqBpH014015@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=123920 Change 123920 by gonzo@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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200707221752.l6MHqBpH014015>