Changeset View
Changeset View
Standalone View
Standalone View
sys/vm/vm_pagequeue.h
Show First 20 Lines • Show All 243 Lines • ▼ Show 20 Lines | struct vm_domain { | ||||
} vmd_pgcache[VM_NFREEPOOL]; | } vmd_pgcache[VM_NFREEPOOL]; | ||||
struct vmem *vmd_kernel_arena; /* (c) per-domain kva R/W arena. */ | struct vmem *vmd_kernel_arena; /* (c) per-domain kva R/W arena. */ | ||||
struct vmem *vmd_kernel_rwx_arena; /* (c) per-domain kva R/W/X arena. */ | struct vmem *vmd_kernel_rwx_arena; /* (c) per-domain kva R/W/X arena. */ | ||||
u_int vmd_domain; /* (c) Domain number. */ | u_int vmd_domain; /* (c) Domain number. */ | ||||
u_int vmd_page_count; /* (c) Total page count. */ | u_int vmd_page_count; /* (c) Total page count. */ | ||||
long vmd_segs; /* (c) bitmask of the segments */ | long vmd_segs; /* (c) bitmask of the segments */ | ||||
u_int __aligned(CACHE_LINE_SIZE) vmd_free_count; /* (a,f) free page count */ | u_int __aligned(CACHE_LINE_SIZE) vmd_free_count; /* (a,f) free page count */ | ||||
u_int vmd_pageout_deficit; /* (a) Estimated number of pages deficit */ | u_int vmd_pageout_deficit; /* (a) Estimated number of pages deficit */ | ||||
u_int vmd_shortage; /* (a) Current predicted shortage. */ | |||||
uint8_t vmd_pad[CACHE_LINE_SIZE - (sizeof(u_int) * 2)]; | uint8_t vmd_pad[CACHE_LINE_SIZE - (sizeof(u_int) * 2)]; | ||||
/* Paging control variables, used within single threaded page daemon. */ | /* Paging control variables, used within single threaded page daemon. */ | ||||
struct pidctrl vmd_pid; /* Pageout controller. */ | struct pidctrl vmd_pid; /* Pageout controller. */ | ||||
boolean_t vmd_oom; | boolean_t vmd_oom; | ||||
int vmd_oom_seq; | int vmd_oom_seq; | ||||
int vmd_last_active_scan; | int vmd_last_active_scan; | ||||
struct vm_page vmd_markers[PQ_COUNT]; /* (q) markers for queue scans */ | struct vm_page vmd_markers[PQ_COUNT]; /* (q) markers for queue scans */ | ||||
▲ Show 20 Lines • Show All 200 Lines • Show Last 20 Lines |