Page MenuHomeFreeBSD

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

Authored by markj on Dec 12 2019, 12:57 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Jul 25, 12:11 AM
Unknown Object (File)
Sat, Jul 5, 11:24 AM
Unknown Object (File)
Jun 16 2025, 4:44 AM
Unknown Object (File)
Jun 8 2025, 11:37 PM
Unknown Object (File)
Jun 6 2025, 11:42 PM
Unknown Object (File)
May 8 2025, 4:31 PM
Unknown Object (File)
Apr 25 2025, 11:52 PM
Unknown Object (File)
Apr 24 2025, 10:40 PM
Subscribers
None

Details

Reviewers
alc
kib
jeff
Summary

Convert the laundry queue scan. This is similar to the inactive queue
scan, but a bit simpler since we do not dequeue pages.

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 28261
Build 26379: 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().

I don't love the extra goto labels but I didn't love the proliferation of xunbusy calls either.

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