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)
Dec 28 2023, 3:05 PM
Unknown Object (File)
Dec 22 2023, 9:50 PM
Unknown Object (File)
Dec 12 2023, 5:52 PM
Unknown Object (File)
Aug 10 2023, 3:07 AM
Unknown Object (File)
Aug 10 2023, 3:06 AM
Unknown Object (File)
Aug 10 2023, 3:02 AM
Unknown Object (File)
Aug 7 2023, 12:27 AM
Unknown Object (File)
Jun 29 2023, 2:36 PM
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