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)
Dec 22 2023, 11:04 PM
Unknown Object (File)
Sep 30 2023, 7:13 PM
Unknown Object (File)
Sep 21 2023, 10:17 PM
Unknown Object (File)
Aug 20 2023, 4:25 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