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, Jan 5, 11:54 PM
Unknown Object (File)
Sat, Jan 3, 6:03 AM
Unknown Object (File)
Sun, Dec 28, 1:20 AM
Unknown Object (File)
Sat, Dec 27, 8:09 AM
Unknown Object (File)
Nov 18 2025, 7:24 PM
Unknown Object (File)
Oct 27 2025, 4:17 AM
Unknown Object (File)
Oct 24 2025, 12:02 AM
Unknown Object (File)
Oct 24 2025, 12:02 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.