summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2015-09-27 04:47:08 +0000
committeralc <alc@FreeBSD.org>2015-09-27 04:47:08 +0000
commit1b04bd851bfa9502ecaaf14673faf66f7ae217b3 (patch)
treea5afd48a888d05e86efe88b1074e5069ba835a43 /include
parent40b680d8ca087b9703e5fa3db21fdbc342f4ad36 (diff)
downloadFreeBSD-src-1b04bd851bfa9502ecaaf14673faf66f7ae217b3.zip
FreeBSD-src-1b04bd851bfa9502ecaaf14673faf66f7ae217b3.tar.gz
MFC r288025
Correct a non-fatal error in vm_pageout_worker(). vm_pageout_worker() should not assume that vm_pages_needed will remain set while it sleeps. Other threads can clear vm_pages_needed by performing a sufficient number of vm_page_free() calls, e.g., process termination. The effect of this error was that vm_pageout_worker() would free and/or launder pages when, in fact, there was no shortage of free pages. Rewrite a nearby comment to describe all of the possible cases and not just the most common case. The problem being that the comment made the most common case seem like the only case.
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud