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)
Fri, Nov 1, 2:13 AM
Unknown Object (File)
Thu, Oct 17, 2:31 AM
Unknown Object (File)
Oct 9 2024, 8:52 AM
Unknown Object (File)
Sep 28 2024, 9:25 PM
Unknown Object (File)
Sep 26 2024, 11:38 AM
Unknown Object (File)
Sep 25 2024, 4:08 PM
Unknown Object (File)
Sep 25 2024, 1:31 AM
Unknown Object (File)
Sep 21 2024, 5:51 AM
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