Page MenuHomeFreeBSD

kboot: space_avail -- how much space exists from 'start' to end of segment
ClosedPublic

Authored by imp on Feb 1 2023, 6:23 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Dec 3, 3:42 PM
Unknown Object (File)
Mon, Dec 2, 8:27 PM
Unknown Object (File)
Sun, Dec 1, 7:12 PM
Unknown Object (File)
Sun, Dec 1, 7:02 PM
Unknown Object (File)
Sun, Nov 24, 1:30 PM
Unknown Object (File)
Fri, Nov 22, 2:02 PM
Unknown Object (File)
Thu, Nov 21, 7:03 AM
Unknown Object (File)
Thu, Nov 21, 7:03 AM
Subscribers

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

rebase / refactor / redo

nr_seg is int, but it can not get to negative, can it?

This revision is now accepted and ready to land.Feb 2 2023, 2:14 PM

nr_seg is int, but it can not get to negative, can it?

Correct. It's never negative. We'll have dozens maybe hundreds, at most of segments, so it will never wrap.