Page MenuHomeFreeBSD

vm_pageout: fix pageout_flush
ClosedPublic

Authored by dougm on May 31 2025, 2:42 AM.
Tags
None
Referenced Files
F164688132: D50622.id156352.diff
Mon, Aug 3, 4:42 AM
F164665557: D50622.id156335.diff
Mon, Aug 3, 1:41 AM
Unknown Object (File)
Sun, Aug 2, 2:50 AM
Unknown Object (File)
Fri, Jul 31, 7:35 PM
Unknown Object (File)
Fri, Jul 31, 3:52 PM
Unknown Object (File)
Sat, Jul 25, 11:34 PM
Unknown Object (File)
Thu, Jul 23, 7:08 AM
Unknown Object (File)
Wed, Jul 22, 2:19 AM
Subscribers

Details

Summary

A change just made to vm_pageout_flush wrongly dismissed the variable 'runlen' and used 'count' in its place, with the unintended consequence of terminating the main loop of the function prematurely when the first VM_PAGER_AGAIN pageout status was encountered. Reintroduce that variable, so that the loop runs to completion.

Fixes: f2a193a967e3 ("vm_pageout: reduce number of flush() params")

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

dougm requested review of this revision.May 31 2025, 2:42 AM
dougm created this revision.
This revision is now accepted and ready to land.May 31 2025, 5:57 PM
This revision was automatically updated to reflect the committed changes.