Page MenuHomeFreeBSD

Start implementing queue state updates using fcmpset loops. [3/5]
ClosedPublic

Authored by markj on Dec 12 2019, 12:52 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Jan 25, 7:29 PM
Unknown Object (File)
Dec 13 2024, 8:22 AM
Unknown Object (File)
Dec 11 2024, 9:21 PM
Unknown Object (File)
Dec 6 2024, 11:15 PM
Unknown Object (File)
Nov 19 2024, 9:29 PM
Unknown Object (File)
Oct 16 2024, 1:13 PM
Unknown Object (File)
Sep 22 2024, 8:40 AM
Unknown Object (File)
Sep 8 2024, 8:27 AM
Subscribers
None

Details

Reviewers
alc
kib
jeff
Summary

The active queue scan updates act_count based on the return value of
pmap_ts_referenced() and whether PGA_REFERENCED is set. It deactivates
the page if the activation count goes to zero. Implement this logic
using vm_page_pqstate_commit().

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 28259
Build 26377: arc lint + arc unit

Event Timeline

Rename the next_page target to skip_page, and unbusy the page at the end
of the loop instead of having lots of inline calls to vm_page_xunbusy().

Looks like the wrong comment for this patch? That is describing inactive or laundry.

This revision is now accepted and ready to land.Dec 20 2019, 11:25 PM