Page MenuHomeFreeBSD

acpi: Mark the GED ithread as sleepable
ClosedPublic

Authored by andrew on Jan 2 2025, 12:28 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Mar 16, 2:05 PM
Unknown Object (File)
Sat, Mar 15, 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
Unknown Object (File)
Feb 2 2025, 8:32 PM
Unknown Object (File)
Jan 27 2025, 8:26 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 Not Applicable
Unit
Tests Not Applicable