Lines Matching defs:vm_domain
235 struct vm_domain { struct
236 struct vm_pagequeue vmd_pagequeues[PQ_COUNT];
237 struct mtx_padalign vmd_free_mtx;
238 struct mtx_padalign vmd_pageout_mtx;
239 struct vm_pgcache {
243 } vmd_pgcache[VM_NFREEPOOL];
244 struct vmem *vmd_kernel_arena; /* (c) per-domain kva R/W arena. */
245 struct vmem *vmd_kernel_rwx_arena; /* (c) per-domain kva R/W/X arena. */
246 struct vmem *vmd_kernel_nofree_arena; /* (c) per-domain kva NOFREE arena. */
247 u_int vmd_domain; /* (c) Domain number. */
248 u_int vmd_page_count; /* (c) Total page count. */
249 long vmd_segs; /* (c) bitmask of the segments */
250 struct vm_nofreeq {
253 } vmd_nofreeq; /* (f) NOFREE page bump allocator. */
255 u_int vmd_pageout_deficit; /* (a) Estimated number of pages deficit */
256 uint8_t vmd_pad[CACHE_LINE_SIZE - (sizeof(u_int) * 2)];
259 struct pidctrl vmd_pid; /* Pageout controller. */
260 bool vmd_oom; /* An OOM kill was requested. */
261 bool vmd_helper_threads_enabled;/* Use multiple threads to scan. */
262 u_int vmd_inactive_threads; /* Number of extra helper threads. */
263 u_int vmd_inactive_shortage; /* Per-thread shortage. */
264 blockcount_t vmd_inactive_running; /* Number of inactive threads. */
265 blockcount_t vmd_inactive_starting; /* Number of threads started. */
266 volatile u_int vmd_addl_shortage; /* Shortage accumulator. */
267 volatile u_int vmd_inactive_freed; /* Successful inactive frees. */
268 volatile u_int vmd_inactive_us; /* Microseconds for above. */
269 u_int vmd_inactive_pps; /* Exponential decay frees/second. */
270 int vmd_oom_seq;
271 int vmd_last_active_scan;
272 struct vm_page vmd_markers[PQ_COUNT]; /* (q) markers for queue scans */
273 struct vm_page vmd_inacthead; /* marker for LRU-defeating insertions */
274 struct vm_page vmd_clock[2]; /* markers for active queue scan */
276 int vmd_pageout_wanted; /* (a, p) pageout daemon wait channel */
277 int vmd_pageout_pages_needed; /* (d) page daemon waiting for pages? */
278 bool vmd_minset; /* (d) Are we in vm_min_domains? */
279 bool vmd_severeset; /* (d) Are we in vm_severe_domains? */
303 extern struct vm_domain vm_dom[MAXMEMDOM]; argument