FreeBSD/sys/vm/vm_zeroidle.c
/* Called by vm_page_free to hint that a new page is available. */
Called by vm_page_free to hint that a new page is available.
Called by vm_page_free to hint that a new page is available .
void
vm_page_zero_idle_wakeup(void)
{
	mtx_assert(&vm_page_queue_free_mtx, MA_OWNED);
	if (wakeup_needed && vm_page_zero_check()) {
		wakeup_needed = FALSE;
		wakeup(&zero_state);
	}
}
void vm_page_zero_idle_wakeup ( void ) { mtx_assert ( & vm_page_queue_free_mtx , MA_OWNED ) ; if ( wakeup_needed && vm_page_zero_check ( ) ) { wakeup_needed = FALSE ; wakeup ( & zero_state ) ; } }
Called by vm_page_free to hint that a new page is available.
Called by vm_page_free to hint that a new page is available .