| Summary: | [acpi] sys/dev/acpica/acpi_thermal.c: a sleep-under-mutex bug in acpi_tz_thread | ||
|---|---|---|---|
| Product: | Base System | Reporter: | Jia-Ju Bai <baijiaju1990> |
| Component: | kern | Assignee: | freebsd-acpi (Nobody) <acpi> |
| Status: | Closed Works As Intended | ||
| Severity: | Affects Only Me | CC: | acpi, hardware, jhb |
| Priority: | --- | ||
| Version: | 11.0-RELEASE | ||
| Hardware: | Any | ||
| OS: | Any | ||
|
Description
Jia-Ju Bai
2017-06-18 03:45:34 UTC
The call to msleep() uses PDROP so the mutex is not reacquired after the thread awakens from the sleep. You probably need to add a special case for the PDROP flag in your static analysis tool. It is a bit of an unusual case. |