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
F169410977: D54926.id170638.diff
Tue, Sep 1, 11:36 AM
F169383634: D54926.id.diff
Tue, Sep 1, 9:27 AM
F169248237: D54926.id171087.diff
Tue, Sep 1, 1:32 AM
Unknown Object (File)
Mon, Aug 31, 11:58 AM
Unknown Object (File)
Sun, Aug 30, 9:00 AM
Unknown Object (File)
Sun, Aug 30, 6:19 AM
Unknown Object (File)
Sat, Aug 29, 11:49 AM
Unknown Object (File)
Thu, Aug 27, 1:43 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