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)
Mon, Jul 28, 12:09 AM
Unknown Object (File)
Sat, Jul 26, 2:39 PM
Unknown Object (File)
Sat, Jul 5, 1:57 PM
Unknown Object (File)
Sat, Jul 5, 10:08 AM
Unknown Object (File)
Fri, Jul 4, 4:26 AM
Unknown Object (File)
Jul 1 2025, 2:12 AM
Unknown Object (File)
Jun 30 2025, 9:37 AM
Unknown Object (File)
Jun 30 2025, 9:07 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