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)
Sep 29 2024, 10:30 PM
Unknown Object (File)
Sep 27 2024, 11:43 AM
Unknown Object (File)
Sep 22 2024, 11:20 PM
Unknown Object (File)
Sep 20 2024, 12:41 PM
Unknown Object (File)
Sep 18 2024, 3:03 AM
Unknown Object (File)
Sep 9 2024, 12:53 AM
Unknown Object (File)
Sep 7 2024, 11:54 PM
Unknown Object (File)
Sep 7 2024, 4:44 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