[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] cpufreq: align dbs timer for better package C state residency
# HG changeset patch # User Keir Fraser <keir.fraser@xxxxxxxxxx> # Date 1239097407 -3600 # Node ID 3881da2d25ec815a47533aa265377132fa59d7bb # Parent 5c69f98c348e1d56ad707463cc062f2f7ecb356c cpufreq: align dbs timer for better package C state residency Signed-off-by: Yu Ke <ke.yu@xxxxxxxxx> --- xen/drivers/cpufreq/cpufreq_ondemand.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletion(-) diff -r 5c69f98c348e -r 3881da2d25ec xen/drivers/cpufreq/cpufreq_ondemand.c --- a/xen/drivers/cpufreq/cpufreq_ondemand.c Tue Apr 07 10:15:25 2009 +0100 +++ b/xen/drivers/cpufreq/cpufreq_ondemand.c Tue Apr 07 10:43:27 2009 +0100 @@ -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) _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |