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

Function vm_paging_needed

freebsd/vm/vm_pagequeue.h:409–414  ·  view source on GitHub ↗

* Returns TRUE if the pagedaemon needs to be woken up. */

Source from the content-addressed store, hash-verified

407 * Returns TRUE if the pagedaemon needs to be woken up.
408 */
409static inline int
410vm_paging_needed(struct vm_domain *vmd, u_int free_count)
411{
412
413 return (free_count < vmd->vmd_pageout_wakeup_thresh);
414}
415
416/*
417 * Returns TRUE if the domain is below the min paging target.

Callers 2

_vm_domain_allocateFunction · 0.85
vm_pageout_workerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected