|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH]Fix a racing condition for cpufreq dbs timer while S3
Fix a racing condition for cpufreq dbs timer while S3 resuming
The cpufreq_dbs_timer_suspend/resume may race with dbs_timer_init while s3
resuming before this patch.
This patch along with cset 21030 fix the bug 1586
http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1586.
Signed-off-by: Yu Ke <ke.yu@xxxxxxxxx>
Signed-off-by: Wei Gang <gang.wei@xxxxxxxxx>
diff -r c1f272c3a441 xen/drivers/cpufreq/cpufreq_ondemand.c
--- a/xen/drivers/cpufreq/cpufreq_ondemand.c Mon Mar 15 17:08:29 2010 +0000
+++ b/xen/drivers/cpufreq/cpufreq_ondemand.c Wed Mar 17 16:40:22 2010 +0800
@@ -211,6 +211,7 @@ static void dbs_timer_exit(struct cpu_db
static void dbs_timer_exit(struct cpu_dbs_info_s *dbs_info)
{
dbs_info->enable = 0;
+ dbs_info->stoppable = 0;
stop_timer(&dbs_timer[dbs_info->cpu]);
}
fix-s3-reboot.patch
Description: fix-s3-reboot.patch
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-devel] [PATCH]Fix a racing condition for cpufreq dbs timer while S3 resuming,
Wei, Gang <=
|
|
|
|
|