1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-14 10:09:48 +00:00

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

synchronized.

Suggested by:	tegge
This commit is contained in:
Alan Cox 2003-02-09 20:40:36 +00:00
parent a7a02d1917
commit 6b4b77ad34
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=110597

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()
{