Page MenuHomeFreeBSD

acpi: Mark the GED ithread as sleepable
ClosedPublic

Authored by andrew on Jan 2 2025, 12:28 PM.
Tags
None
Referenced Files
F115661360: D48284.id149890.diff
Sat, Apr 26, 5:56 PM
Unknown Object (File)
Wed, Apr 16, 5:26 AM
Unknown Object (File)
Mar 16 2025, 2:05 PM
Unknown Object (File)
Mar 15 2025, 2:34 AM
Unknown Object (File)
Feb 27 2025, 3:20 PM
Unknown Object (File)
Feb 12 2025, 9:39 PM
Unknown Object (File)
Feb 11 2025, 4:20 AM
Unknown Object (File)
Feb 8 2025, 1:08 AM
Subscribers

Details

Summary

We need to complete calling the ACPI method before marking the interrupt
as complete. If two threads are inspecting the ACPI tables at the same
time they may both try to lock the ACPI mutex causing one to sleep. If
this is the ithread it will panic the kernel as this is not allowed.

Update the ged ithread to allow sleeping as it is expected this lock
will be uncommon enough any sleep will be short.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 61454
Build 58338: arc lint + arc unit