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, Oct 11, 6:20 AM
Unknown Object (File)
Sat, Oct 11, 6:20 AM
Unknown Object (File)
Sat, Oct 11, 6:20 AM
Unknown Object (File)
Fri, Oct 10, 11:06 PM
Unknown Object (File)
Tue, Sep 23, 11:48 AM
Unknown Object (File)
Sun, Sep 21, 10:51 PM
Unknown Object (File)
Mon, Sep 15, 12:44 AM
Unknown Object (File)
Aug 11 2025, 9:08 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