Page MenuHomeFreeBSD

vm_phys_early_alloc(): Add diagnostics and comments
Needs ReviewPublic

Authored by olce on Thu, Jan 23, 5:16 PM.

Details

Reviewers
markj
dougm
alc
Summary

Panic after each search for biggest ranges if no range was found at all.

If there is not enough space for the allocation, print relevant information
when panicking.

Check (under invariants) that 'alloc_size' is not 0, as this case is not
currently supported and cannot be triggered by current callers.

Add a few comments.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 61932
Build 58816: arc lint + arc unit