Page MenuHomeFreeBSD

acpi: Mark the GED ithread as sleepable
ClosedPublic

Authored by andrew on Jan 2 2025, 12:28 PM.
Tags
None
Referenced Files
F168153557: D48284.id148667.diff
Wed, Aug 26, 3:14 PM
F168153277: D48284.diff
Wed, Aug 26, 3:13 PM
Unknown Object (File)
Tue, Aug 25, 6:46 AM
Unknown Object (File)
Tue, Aug 25, 4:34 AM
Unknown Object (File)
Sun, Aug 16, 10:47 PM
Unknown Object (File)
Thu, Aug 13, 12:53 AM
Unknown Object (File)
Wed, Aug 12, 3:32 PM
Unknown Object (File)
Tue, Aug 11, 5:55 PM
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 Not Applicable
Unit
Tests Not Applicable