Page MenuHomeFreeBSD

acpi: Mark the GED ithread as sleepable
ClosedPublic

Authored by andrew on Thu, Jan 2, 12:28 PM.
Tags
None
Referenced Files
F108453197: D48284.id148667.diff
Fri, Jan 24, 11:02 PM
F108424471: D48284.diff
Fri, Jan 24, 4:38 PM
Unknown Object (File)
Sun, Jan 12, 8:47 PM
Unknown Object (File)
Sun, Jan 12, 4:27 AM
Unknown Object (File)
Sun, Jan 12, 3:36 AM
Unknown Object (File)
Sun, Jan 12, 3:17 AM
Unknown Object (File)
Sat, Jan 11, 4:06 AM
Unknown Object (File)
Fri, Jan 10, 1:59 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