|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH]cpufreq: don't re-init active dbs timer in S3 or cpu
cpufreq: don't re-init active dbs timer in S3 or cpu online
Signed-off-by: Wei Gang <gang.wei@xxxxxxxxx>
diff -r 84da3d0314cd xen/drivers/cpufreq/cpufreq_ondemand.c
--- a/xen/drivers/cpufreq/cpufreq_ondemand.c Thu Mar 25 18:29:27 2010 +0800
+++ b/xen/drivers/cpufreq/cpufreq_ondemand.c Fri Mar 26 16:16:57 2010 +0800
@@ -196,8 +196,9 @@ static void dbs_timer_init(struct cpu_db
{
dbs_info->enable = 1;
- init_timer(&dbs_timer[dbs_info->cpu], do_dbs_timer,
- (void *)dbs_info, dbs_info->cpu);
+ if ( !dbs_timer[dbs_info->cpu].function )
+ init_timer(&dbs_timer[dbs_info->cpu], do_dbs_timer,
+ (void *)dbs_info, dbs_info->cpu);
set_timer(&dbs_timer[dbs_info->cpu], NOW()+dbs_tuners_ins.sampling_rate);
dbs_init_timer_once.patch
Description: dbs_init_timer_once.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]cpufreq: don't re-init active dbs timer in S3 or cpu online,
Wei, Gang <=
|
|
|
|
|