Use unique wait messages in the page daemon control loop.

Discussed with:	alc
MFC after:	1 week
This commit is contained in:
Mark Johnston 2017-12-06 18:36:54 +00:00
parent 64faea63a4
commit 6eebec8343
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=326629

View File

@ -1818,7 +1818,7 @@ vm_pageout_worker(void *arg)
*/
mtx_unlock(&vm_page_queue_free_mtx);
if (pass >= 1)
pause("psleep", hz / VM_INACT_SCAN_RATE);
pause("pwait", hz / VM_INACT_SCAN_RATE);
pass++;
} else {
/*