Add the machine-specific definitions for configuring the new physical

memory allocator.

Approved by:	re
This commit is contained in:
Alan Cox 2007-06-04 08:02:22 +00:00
parent a490742913
commit 9211deca08

View file

@ -58,6 +58,16 @@
*/
#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 2 free lists:
*
@ -69,6 +79,11 @@
#define VM_FREELIST_DEFAULT 0
#define VM_FREELIST_ISADMA 1
/*
* The largest allocation size is 1MB.
*/
#define VM_NFREEORDER 9
#define UPT_MAX_ADDRESS VADDR(UPTPTDI + 3, 0)
#define UPT_MIN_ADDRESS VADDR(UPTPTDI, 0)