Add a comment describing how pagedaemon_wakeup() should be used and

synchronized.

Suggested by:	tegge
This commit is contained in:
alc 2003-02-09 20:40:36 +00:00
parent 356d4294bc
commit 0fb19b3982

View File

@ -1481,6 +1481,12 @@ vm_pageout()
}
}
/*
* Unless the page queue lock is held by the caller, this function
* should be regarded as advisory. Specifically, the caller should
* not msleep() on &cnt.v_free_count following this function unless
* the page queue lock is held until the msleep() is performed.
*/
void
pagedaemon_wakeup()
{