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
F130872379: D38313.id116166.diff
Fri, Oct 3, 1:05 AM
Unknown Object (File)
Wed, Oct 1, 10:36 AM
Unknown Object (File)
Sun, Sep 28, 6:42 AM
Unknown Object (File)
Wed, Sep 24, 8:49 PM
Unknown Object (File)
Sun, Sep 7, 3:05 AM
Unknown Object (File)
Sat, Sep 6, 3:17 PM
Unknown Object (File)
Sat, Sep 6, 12:27 PM
Unknown Object (File)
Thu, Sep 4, 8:32 PM
Subscribers

Diff Detail

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

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.