Page MenuHomeFreeBSD

Move to using sbuf for some sysctl in newbus
ClosedPublic

Authored by imp on Aug 26 2020, 10:07 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Sep 12, 2:24 AM
Unknown Object (File)
Sat, Sep 5, 8:47 AM
Unknown Object (File)
Sat, Aug 22, 2:58 PM
Unknown Object (File)
Sat, Aug 22, 8:50 AM
Unknown Object (File)
Thu, Aug 20, 8:47 PM
Unknown Object (File)
Aug 16 2026, 4:12 AM
Unknown Object (File)
Aug 16 2026, 3:57 AM
Unknown Object (File)
Aug 16 2026, 1:37 AM
Subscribers
None

Details

Summary

Convert two different sysctl to using sbuf. First, for all the default
sysctls we implement for each device driver that's attached. This is a
pure sbuf conversion.

Second, convert sysctl_devices to fill its buffer with sbuf rather
than a hand-rolled crappy thing I wrote years ago.

Note: this depends on D26140.

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 33186
Build 30535: arc lint + arc unit

Event Timeline

imp requested review of this revision.Aug 26 2020, 10:07 PM
imp created this revision.
This revision is now accepted and ready to land.Aug 27 2020, 2:46 AM
This revision was automatically updated to reflect the committed changes.