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
F168659271: D54926.diff
Sat, Aug 29, 11:49 AM
Unknown Object (File)
Thu, Aug 27, 1:43 PM
Unknown Object (File)
Thu, Aug 27, 12:01 PM
Unknown Object (File)
Wed, Aug 26, 5:17 AM
Unknown Object (File)
Tue, Aug 25, 12:03 PM
Unknown Object (File)
Mon, Aug 24, 11:18 PM
Unknown Object (File)
Mon, Aug 24, 10:47 PM
Unknown Object (File)
Mon, Aug 24, 10:20 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