Page MenuHomeFreeBSD

Fix the act_scan_laundry_weight mechanism.
ClosedPublic

Authored by markj on Dec 8 2017, 4:49 PM.
Tags
None
Referenced Files
F172241279: D13423.id.diff
Thu, Sep 17, 4:23 AM
Unknown Object (File)
Fri, Aug 28, 11:59 PM
Unknown Object (File)
Fri, Aug 28, 11:59 PM
Unknown Object (File)
Fri, Aug 28, 11:58 PM
Unknown Object (File)
Aug 16 2026, 8:40 AM
Unknown Object (File)
Jul 30 2026, 10:41 AM
Unknown Object (File)
Jun 27 2026, 9:29 AM
Unknown Object (File)
Jun 5 2026, 7:41 PM
Subscribers

Details

Summary

In r292392 I modified the active queue scan to weigh clean pages
differently from dirty pages when attempting to meet the inactive queue
target. Specifically, I wanted clean pages to count more towards the
target, since they can be reclaimed with less work. Moreover, moving
more dirty pages to the laundry queue improves our ability to cluster
them when writing.

When r306706 was merged into the PQ_LAUNDRY branch, this mechanism was
broken. Fix it by scalaing the correct page shortage variable.

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 13437
Build 13667: arc lint + arc unit