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
F139635248: D22772.id54425.diff
Sun, Dec 14, 10:35 AM
Unknown Object (File)
Tue, Nov 25, 10:49 PM
Unknown Object (File)
Mon, Nov 24, 9:51 PM
Unknown Object (File)
Sun, Nov 23, 7:49 AM
Unknown Object (File)
Tue, Nov 18, 7:49 PM
Unknown Object (File)
Tue, Nov 18, 4:13 PM
Unknown Object (File)
Mon, Nov 17, 8:29 AM
Unknown Object (File)
Sat, Nov 15, 12:04 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 28090
Build 26234: 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