Page MenuHomeFreeBSD

acpi: Move sysctl tree set up at end of initialization
ClosedPublic

Authored by olce on Jan 28 2026, 12:44 PM.
Tags
None
Referenced Files
F149538490: D54926.diff
Wed, Mar 25, 3:02 AM
Unknown Object (File)
Sat, Mar 14, 8:31 AM
Unknown Object (File)
Fri, Mar 13, 11:25 PM
Unknown Object (File)
Mon, Mar 2, 7:09 PM
Unknown Object (File)
Sat, Feb 28, 8:42 PM
Unknown Object (File)
Feb 22 2026, 2:21 AM
Unknown Object (File)
Feb 22 2026, 2:09 AM
Unknown Object (File)
Feb 11 2026, 11:48 PM
Subscribers

Details

Summary

Setting up the sysctl tree later:

  1. Fixes not de-registering sysctl knobs on failure to attach.
  2. Avoids having inconsistent knob values exposed during a brief moment.

MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

olce requested review of this revision.Jan 28 2026, 12:44 PM

This move is good

sys/dev/acpica/acpi.c
607–608

Not sure this needs a comment

This revision is now accepted and ready to land.Jan 28 2026, 2:17 PM
olce marked an inline comment as done.Jan 28 2026, 4:31 PM
olce added inline comments.
sys/dev/acpica/acpi.c
607–608

Yeah, I'll remove that.

olce marked an inline comment as done.Feb 2 2026, 8:39 PM