These have some failure modes, acknowledge that. If we run past the
end of hwregions, the caller should be able to detect that before it
potentially becomes a panic() later when attempting to populate
phys_avail.
Details
Details
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 42739 Build 39627: arc lint + arc unit
Event Timeline
sys/kern/subr_physmem.c | ||
---|---|---|
404 | The caller can't really do anything about it and they typically won't do anything to sanity check what's been added to phys_avail, so I suppose this should just be a silent return 0. |