search for: cpu_dbs_info_

Displaying 4 results from an estimated 4 matches for "cpu_dbs_info_".

Did you mean: cpu_dbs_info_s
2007 Oct 23
2
[PATCH][cpufreq] Xen support for the ondemand governor [2/2] (linux)
...cpufreq/cpufreq_ondemand.c Wed Oct 17 09:24:03 2007 +0100 +++ b/drivers/cpufreq/cpufreq_ondemand.c Thu Oct 18 16:08:36 2007 -0500 @@ -221,18 +222,14 @@ static struct attribute_group dbs_attr_g }; /************************** sysfs end ************************/ - -static void dbs_check_cpu(struct cpu_dbs_info_s *this_dbs_info) -{ - unsigned int idle_ticks, total_ticks; - unsigned int load; +#ifndef CONFIG_XEN +static int dbs_calc_load(struct cpu_dbs_info_s *this_dbs_info) +{ + struct cpufreq_policy *policy; cputime64_t cur_jiffies; - - struct cpufreq_policy *policy; + cputime64_t total_ticks, idle_tick...
2007 Oct 29
0
[PATCH][retry 2][cpufreq] Xen support for the ondemand governor in Linux dom0
...*** sysfs interface ************************/ static ssize_t show_sampling_rate_max(struct cpufreq_policy *policy, char *buf) { @@ -221,18 +222,14 @@ static struct attribute_group dbs_attr_g }; /************************** sysfs end ************************/ - -static void dbs_check_cpu(struct cpu_dbs_info_s *this_dbs_info) -{ - unsigned int idle_ticks, total_ticks; - unsigned int load; +#ifndef CONFIG_XEN +static int dbs_calc_load(struct cpu_dbs_info_s *this_dbs_info) +{ + struct cpufreq_policy *policy; cputime64_t cur_jiffies; - - struct cpufreq_policy *policy; + cputime64_t total_ticks, idle_tick...
2013 Sep 12
23
More Coverity-reported issues.
Another bundle of issues from Coverity triage. The first one is in x86/mm, and looks scarier than it is. The others are all in xen/drivers and AFAICT are pretty minor. Cheers, Tim.
2011 Oct 20
0
[PATCH 07/12] cpufreq: allocate CPU masks dynamically
...@@ -122,7 +122,7 @@ static void dbs_check_cpu(struct cpu_dbs return; /* Get Idle Time */ - for_each_cpu_mask(j, policy->cpus) { + for_each_cpu_mask(j, *policy->cpus) { uint64_t idle_ns, total_idle_ns; uint64_t load, load_freq, freq_avg; struct cpu_dbs_info_s *j_dbs_info; @@ -233,7 +233,7 @@ int cpufreq_governor_dbs(struct cpufreq_ dbs_enable++; - for_each_cpu_mask(j, policy->cpus) { + for_each_cpu_mask(j, *policy->cpus) { struct cpu_dbs_info_s *j_dbs_info; j_dbs_info = &per_cpu(cpu_dbs_inf...