Page MenuHomeFreeBSD

acpi: Mark the GED ithread as sleepable
AcceptedPublic

Authored by andrew on Thu, Jan 2, 12:28 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Jan 3, 10:50 PM
Unknown Object (File)
Thu, Jan 2, 12:30 PM
Subscribers

Details

Reviewers
trasz
markj
avg
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