Changeset View
Changeset View
Standalone View
Standalone View
head/sys/vm/vm_page.c
Show First 20 Lines • Show All 128 Lines • ▼ Show 20 Lines | |||||
#include <machine/md_var.h> | #include <machine/md_var.h> | ||||
extern int uma_startup_count(int); | extern int uma_startup_count(int); | ||||
extern void uma_startup(void *, int); | extern void uma_startup(void *, int); | ||||
extern int vmem_startup_count(void); | extern int vmem_startup_count(void); | ||||
struct vm_domain vm_dom[MAXMEMDOM]; | struct vm_domain vm_dom[MAXMEMDOM]; | ||||
static DPCPU_DEFINE(struct vm_batchqueue, pqbatch[MAXMEMDOM][PQ_COUNT]); | DPCPU_DEFINE_STATIC(struct vm_batchqueue, pqbatch[MAXMEMDOM][PQ_COUNT]); | ||||
struct mtx_padalign __exclusive_cache_line pa_lock[PA_LOCK_COUNT]; | struct mtx_padalign __exclusive_cache_line pa_lock[PA_LOCK_COUNT]; | ||||
struct mtx_padalign __exclusive_cache_line vm_domainset_lock; | struct mtx_padalign __exclusive_cache_line vm_domainset_lock; | ||||
/* The following fields are protected by the domainset lock. */ | /* The following fields are protected by the domainset lock. */ | ||||
domainset_t __exclusive_cache_line vm_min_domains; | domainset_t __exclusive_cache_line vm_min_domains; | ||||
domainset_t __exclusive_cache_line vm_severe_domains; | domainset_t __exclusive_cache_line vm_severe_domains; | ||||
static int vm_min_waiters; | static int vm_min_waiters; | ||||
▲ Show 20 Lines • Show All 4,358 Lines • Show Last 20 Lines |