Changeset View
Changeset View
Standalone View
Standalone View
head/sys/amd64/include/vmparam.h
Show First 20 Lines • Show All 84 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 63 | #define VM_PHYSSEG_MAX 63 | ||||
/* | /* | ||||
* 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 page tables and small UMA | * the pool from which physical pages for page tables and small UMA | ||||
* objects are allocated. | * objects are 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 up to three free page lists: VM_FREELIST_DMA32 is for physical pages | * Create up to three free page lists: VM_FREELIST_DMA32 is for physical pages | ||||
* that have physical addresses below 4G but are not accessible by ISA DMA, | * that have physical addresses below 4G but are not accessible by ISA DMA, | ||||
* and VM_FREELIST_ISADMA is for physical pages that are accessible by ISA | * and VM_FREELIST_ISADMA is for physical pages that are accessible by ISA | ||||
* DMA. | * DMA. | ||||
▲ Show 20 Lines • Show All 121 Lines • Show Last 20 Lines |