Changeset View
Changeset View
Standalone View
Standalone View
head/sys/arm64/include/vmparam.h
Show First 20 Lines • Show All 69 Lines • ▼ Show 20 Lines | |||||
* The number of PHYSSEG entries must be one greater than the number | * The number of PHYSSEG entries must be one greater than the number | ||||
* of phys_avail entries because the phys_avail entry that spans the | * of phys_avail entries because the phys_avail entry that spans the | ||||
* largest physical address that is accessible by ISA DMA is split | * largest physical address that is accessible by ISA DMA is split | ||||
* into two PHYSSEG entries. | * into two PHYSSEG entries. | ||||
*/ | */ | ||||
#define VM_PHYSSEG_MAX 64 | #define VM_PHYSSEG_MAX 64 | ||||
/* | /* | ||||
* Create three free page pools: VM_FREEPOOL_DEFAULT is the default pool | * Create two free page pools: VM_FREEPOOL_DEFAULT is the default pool | ||||
* from which physical pages are allocated and VM_FREEPOOL_DIRECT is | * from which physical pages are allocated and VM_FREEPOOL_DIRECT is | ||||
* the pool from which physical pages for small UMA objects are | * the pool from which physical pages for small UMA objects are | ||||
* allocated. | * allocated. | ||||
*/ | */ | ||||
#define VM_NFREEPOOL 3 | #define VM_NFREEPOOL 2 | ||||
#define VM_FREEPOOL_CACHE 2 | |||||
#define VM_FREEPOOL_DEFAULT 0 | #define VM_FREEPOOL_DEFAULT 0 | ||||
#define VM_FREEPOOL_DIRECT 1 | #define VM_FREEPOOL_DIRECT 1 | ||||
/* | /* | ||||
* Create two free page lists: VM_FREELIST_DEFAULT is for physical | * Create two free page lists: VM_FREELIST_DEFAULT is for physical | ||||
* pages that are above the largest physical address that is | * pages that are above the largest physical address that is | ||||
* accessible by ISA DMA and VM_FREELIST_ISADMA is for physical pages | * accessible by ISA DMA and VM_FREELIST_ISADMA is for physical pages | ||||
* that are below that address. | * that are below that address. | ||||
▲ Show 20 Lines • Show All 139 Lines • Show Last 20 Lines |