Changeset View
Changeset View
Standalone View
Standalone View
sys/vm/vm_phys.c
Show First 20 Lines • Show All 100 Lines • ▼ Show 20 Lines | |||||
RB_GENERATE_STATIC(fict_tree, vm_phys_fictitious_seg, node, | RB_GENERATE_STATIC(fict_tree, vm_phys_fictitious_seg, node, | ||||
vm_phys_fictitious_cmp); | vm_phys_fictitious_cmp); | ||||
static struct rwlock_padalign vm_phys_fictitious_reg_lock; | static struct rwlock_padalign vm_phys_fictitious_reg_lock; | ||||
MALLOC_DEFINE(M_FICT_PAGES, "vm_fictitious", "Fictitious VM pages"); | MALLOC_DEFINE(M_FICT_PAGES, "vm_fictitious", "Fictitious VM pages"); | ||||
static struct vm_freelist __aligned(CACHE_LINE_SIZE) | static struct vm_freelist __aligned(CACHE_LINE_SIZE) | ||||
vm_phys_free_queues[MAXMEMDOM][VM_NFREELIST][VM_NFREEPOOL][VM_NFREEORDER]; | vm_phys_free_queues[MAXMEMDOM][VM_NFREELIST][VM_NFREEPOOL] | ||||
[VM_NFREEORDER_MAX]; | |||||
static int __read_mostly vm_nfreelists; | static int __read_mostly vm_nfreelists; | ||||
/* | /* | ||||
* Provides the mapping from VM_FREELIST_* to free list indices (flind). | * Provides the mapping from VM_FREELIST_* to free list indices (flind). | ||||
*/ | */ | ||||
static int __read_mostly vm_freelist_to_flind[VM_NFREELIST]; | static int __read_mostly vm_freelist_to_flind[VM_NFREELIST]; | ||||
▲ Show 20 Lines • Show All 1,324 Lines • Show Last 20 Lines |