Bug 3231

Summary: Race condition in thermal module, with memory leak fix
Product: ACPI Reporter: Wang, Zhenyu Z (zhenyu.z.wang)
Component: Power-ThermalAssignee: Wang, Zhenyu Z (zhenyu.z.wang)
Status: CLOSED CODE_FIX    
Severity: normal CC: acpi-bugzilla
Priority: P2    
Hardware: i386   
OS: Linux   
Kernel Version: all Subsystem:
Regression: --- Bisected commit-id:
Attachments: proposal patch by Shaohua

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.