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)
Sun, Sep 28, 11:42 PM
Unknown Object (File)
Sat, Sep 27, 6:26 PM
Unknown Object (File)
Sat, Sep 27, 5:56 PM
Unknown Object (File)
Sat, Sep 20, 12:51 AM
Unknown Object (File)
Wed, Sep 17, 4:09 PM
Unknown Object (File)
Wed, Sep 17, 2:31 PM
Unknown Object (File)
Sep 4 2025, 2:15 AM
Unknown Object (File)
Aug 15 2025, 12:45 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

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.