Bug 3231 - Race condition in thermal module, with memory leak fix
Race condition in thermal module, with memory leak fix
Status: CLOSED CODE_FIX
Product: ACPI
Classification: Unclassified
Component: Power-Thermal
i386 Linux
: P2 normal
Assigned To: Wang, Zhenyu Z
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2004-08-18 02:27 UTC by Wang, Zhenyu Z
Modified: 2004-11-04 13:47 UTC (History)
1 user (show)

See Also:
Kernel Version: all
Tree: Mainline
Regression: ---


Attachments
proposal patch by Shaohua (1.41 KB, patch)
2004-08-18 02:30 UTC, Wang, Zhenyu Z
Details | Diff

Description Wang, Zhenyu Z 2004-08-18 02:27:06 UTC
Problem Description:
Current acpi thermal driver doesn't care about pending task
when deleteing timer. The acpi_thermal_check() will still be called
by pending task and may set up another timer for it, even if thermal
module has been removed. 
When remove thermal module, kfree(tz) should be called.
These issues are found by Li, Shaohua.
Comment 1 Wang, Zhenyu Z 2004-08-18 02:30:24 UTC
Created attachment 3517 [details]
proposal patch by Shaohua
Comment 2 Wang, Zhenyu Z 2004-09-03 02:59:56 UTC
Len, please apply this patch by Shaohua.

thanks
Comment 3 Len Brown 2004-11-04 13:47:37 UTC
shipped in 2.6.9 - closing.

Note You need to log in before you can comment on or make changes to this bug.