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
F153018646: D22776.id65525.diff
Sat, Apr 18, 4:09 PM
Unknown Object (File)
Wed, Apr 15, 12:09 AM
Unknown Object (File)
Fri, Apr 10, 10:59 AM
Unknown Object (File)
Fri, Apr 10, 9:50 AM
Unknown Object (File)
Fri, Apr 10, 8:43 AM
Unknown Object (File)
Fri, Apr 10, 6:51 AM
Unknown Object (File)
Sun, Apr 5, 10:55 AM
Unknown Object (File)
Mon, Mar 23, 4:01 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