Page MenuHomeFreeBSD

Fix a page leak in the md(4) swap I/O path.
ClosedPublic

Authored by markj on Jan 3 2020, 5:41 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Jun 4, 5:43 PM
Unknown Object (File)
May 10 2026, 11:56 PM
Unknown Object (File)
May 10 2026, 7:05 PM
Unknown Object (File)
May 10 2026, 3:16 AM
Unknown Object (File)
May 8 2026, 9:29 PM
Unknown Object (File)
May 1 2026, 11:21 PM
Unknown Object (File)
Apr 29 2026, 6:10 PM
Unknown Object (File)
Apr 27 2026, 9:31 AM
Subscribers

Details

Summary

In a last-minute change to D22885 I removed the vm_page_activate() call.
But this is of course needed to ensure that the pages end up in the page
queues in the first place.

Restore the pre-r356157 logic. Now, without the page lock, the
vm_page_active() check is racy, but this race is harmless.

Reported and tested by: pho

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable