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, May 9, 3:44 PM
Unknown Object (File)
Sat, May 9, 8:42 AM
Unknown Object (File)
Fri, May 8, 1:39 PM
Unknown Object (File)
Sat, May 2, 12:32 PM
Unknown Object (File)
Fri, May 1, 11:05 AM
Unknown Object (File)
Fri, Apr 24, 10:39 AM
Unknown Object (File)
Apr 11 2026, 11:04 PM
Unknown Object (File)
Apr 7 2026, 3:19 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