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

Function vm_page_count_severe

freebsd/sys/vmmeter.h:186–191  ·  view source on GitHub ↗

* Return TRUE if we are under our severe low-free-pages threshold * * These routines are typically used at the user<->system interface to determine * whether we need to block in order to avoid a low memory deadlock. */

Source from the content-addressed store, hash-verified

184 * whether we need to block in order to avoid a low memory deadlock.
185 */
186static inline int
187vm_page_count_severe(void)
188{
189
190 return (!DOMAINSET_EMPTY(&vm_severe_domains));
191}
192
193static inline int
194vm_page_count_severe_domain(int domain)

Callers 4

cluster_writeFunction · 0.85
vm_map_pmap_enterFunction · 0.85
vm_wait_severeFunction · 0.85
vm_pageout_lowmemFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected