MCPcopy Create free account
hub / github.com/F-Stack/f-stack / vm_paging_target

Function vm_paging_target

freebsd/vm/vm_pagequeue.h:399–404  ·  view source on GitHub ↗

* Return the number of pages we need to free-up or cache * A positive number indicates that we do not have enough free pages. */

Source from the content-addressed store, hash-verified

397 * A positive number indicates that we do not have enough free pages.
398 */
399static inline int
400vm_paging_target(struct vm_domain *vmd)
401{
402
403 return (vmd->vmd_free_target - vmd->vmd_free_count);
404}
405
406/*
407 * Returns TRUE if the pagedaemon needs to be woken up.

Callers 2

vm_laundry_targetFunction · 0.85
vm_pageout_active_targetFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected