* Return TRUE if we are under our minimum low-free-pages threshold. * * These routines are typically used within the system to determine whether * we can execute potentially very expensive code in terms of memory. It * is also used by the pageout daemon to calculate when to sleep, when * to wake waiters up, and when (after making a pass) to become more * desperate. */
| 214 | * desperate. |
| 215 | */ |
| 216 | static inline int |
| 217 | vm_page_count_min(void) |
| 218 | { |
| 219 | |
| 220 | return (!DOMAINSET_EMPTY(&vm_min_domains)); |
| 221 | } |
| 222 | |
| 223 | static inline int |
| 224 | vm_page_count_min_domain(int domain) |
no outgoing calls
no test coverage detected