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
F80145356: D23024.diff
Thu, Mar 28, 1:18 PM
Unknown Object (File)
Dec 20 2023, 6:55 AM
Unknown Object (File)
Nov 24 2023, 6:16 PM
Unknown Object (File)
Nov 15 2023, 1:31 PM
Unknown Object (File)
Nov 12 2023, 6:48 AM
Unknown Object (File)
Nov 10 2023, 6:37 AM
Unknown Object (File)
Sep 18 2023, 3:43 AM
Unknown Object (File)
Sep 18 2023, 3:42 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

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 28464
Build 26528: arc lint + arc unit