Page MenuHomeFreeBSD

vm: Move the "vm_wait in early boot" assertion to the proper place a
AbandonedPublic

Authored by markj on Apr 14 2022, 1:35 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Sep 21, 5:51 AM
Unknown Object (File)
Sun, Sep 8, 2:05 AM
Unknown Object (File)
Wed, Sep 4, 7:38 AM
Unknown Object (File)
Fri, Aug 30, 10:28 PM
Unknown Object (File)
Aug 10 2024, 1:33 PM
Unknown Object (File)
Aug 8 2024, 8:58 PM
Unknown Object (File)
Dec 22 2023, 11:04 PM
Unknown Object (File)
Sep 30 2023, 7:13 PM
Subscribers

Details

Reviewers
None
Summary

The assertion was added in commit 1771e987ca6a. After that, vm_wait()
and friends were refactored such that the actual sleep happens
elsewhere. Now the assertion condition is not checked when
vm_wait_doms() is called directly, and it is checked even if we are not
going to sleep (because vm_page_count_min_set(wdoms) is false).

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 45159
Build 42047: arc lint + arc unit