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)
Mon, Apr 13, 12:40 AM
Unknown Object (File)
Thu, Apr 9, 6:14 PM
Unknown Object (File)
Sun, Apr 5, 12:37 AM
Unknown Object (File)
Mar 29 2026, 2:11 AM
Unknown Object (File)
Mar 23 2026, 10:41 PM
Unknown Object (File)
Mar 23 2026, 6:41 PM
Unknown Object (File)
Mar 22 2026, 10:51 PM
Unknown Object (File)
Mar 18 2026, 1:13 PM
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.