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
Unknown Object (File)
Tue, May 26, 10:53 PM
Unknown Object (File)
Sat, May 23, 1:09 AM
Unknown Object (File)
May 9 2026, 6:17 PM
Unknown Object (File)
May 9 2026, 6:11 PM
Unknown Object (File)
May 1 2026, 9:37 PM
Unknown Object (File)
May 1 2026, 9:31 PM
Unknown Object (File)
Apr 30 2026, 6:59 AM
Unknown Object (File)
Apr 29 2026, 8:06 AM
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