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, Mar 29, 2:11 AM
Unknown Object (File)
Mon, Mar 23, 10:41 PM
Unknown Object (File)
Mon, Mar 23, 6:41 PM
Unknown Object (File)
Sun, Mar 22, 10:51 PM
Unknown Object (File)
Wed, Mar 18, 1:13 PM
Unknown Object (File)
Tue, Mar 17, 3:23 AM
Unknown Object (File)
Feb 26 2026, 6:18 PM
Unknown Object (File)
Feb 26 2026, 1:40 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

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.