|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH] cpufreq: align dbs timer
A very small patch to align cpufreq dbs timer, for better package C state
residency
Signed-off-by: Yu Ke <ke.yu@xxxxxxxxx>
diff -r 3db34a1f8ac2 xen/drivers/cpufreq/cpufreq_ondemand.c
--- a/xen/drivers/cpufreq/cpufreq_ondemand.c
+++ b/xen/drivers/cpufreq/cpufreq_ondemand.c
@@ -178,7 +178,8 @@ static void do_dbs_timer(void *dbs)
dbs_check_cpu(dbs_info);
- set_timer(&dbs_timer[dbs_info->cpu], NOW()+dbs_tuners_ins.sampling_rate);
+ set_timer(&dbs_timer[dbs_info->cpu],
+ align_timer(NOW() , dbs_tuners_ins.sampling_rate));
}
static void dbs_timer_init(struct cpu_dbs_info_s *dbs_info)
cpufreq-align-dbs-timer.patch
Description: cpufreq-align-dbs-timer.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: align dbs timer,
Yu, Ke <=
|
|
|
|
|