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
F176424931: D22776.id65525.diff
Sun, Oct 18, 7:52 PM
F176424919: D22776.id65860.diff
Sun, Oct 18, 7:52 PM
F176417905: D22776.diff
Sun, Oct 18, 6:45 PM
Unknown Object (File)
Fri, Sep 25, 8:19 PM
Unknown Object (File)
Wed, Sep 23, 8:41 AM
Unknown Object (File)
Tue, Sep 22, 10:33 PM
Unknown Object (File)
Tue, Sep 22, 10:12 AM
Unknown Object (File)
Tue, Sep 22, 10:02 AM
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 28093
Build 26237: 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