linux-stable/drivers/cpufreq
Venki Pallipadi ea48761519 [CPUFREQ] ondemand: fix tickless accounting and software coordination bug
With tickless kernel and software coordination os P-states, ondemand
can look at wrong idle statistics. This can happen when ondemand sampling
is happening on CPU 0 and due to software coordination sampling also looks at
utilization of CPU 1. If CPU 1 is in tickless state at that moment, its idle
statistics will not be uptodate and CPU 0 thinks CPU 1 is idle for less
amount of time than it actually is.

This can be resolved by looking at all the busy times of CPUs, which is
accurate, even with tickless, and use that to determine idle time in a
round about way (total time - busy time).

Thanks to Arjan for originally reporting the ondemand bug on
Lenovo T61.

Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Signed-off-by: Dave Jones <davej@redhat.com>
2007-06-21 12:57:53 -04:00
..
cpufreq.c [CPUFREQ] check return value of sysfs_create_file 2007-05-29 16:56:40 -04:00
cpufreq_conservative.c Merge master.kernel.org:/pub/scm/linux/kernel/git/davej/cpufreq 2007-02-16 08:16:01 -08:00
cpufreq_ondemand.c [CPUFREQ] ondemand: fix tickless accounting and software coordination bug 2007-06-21 12:57:53 -04:00
cpufreq_performance.c [CPUFREQ] Fix coding style issues in cpufreq. 2006-11-06 19:16:34 -05:00
cpufreq_powersave.c [CPUFREQ] Fix coding style issues in cpufreq. 2006-11-06 19:16:34 -05:00
cpufreq_stats.c Add suspend-related notifications for CPU hotplug 2007-05-09 12:30:56 -07:00
cpufreq_userspace.c [CPUFREQ] Keep userspace governor quiet when it is not being used 2007-06-21 12:57:53 -04:00
freq_table.c [CPUFREQ] Fix coding style issues in cpufreq. 2006-11-06 19:16:34 -05:00
Kconfig [CPUFREQ] cleanup kconfig options 2007-04-26 14:32:03 -04:00
Makefile [CPUFREQ] Conservative cpufreq governer 2005-05-31 19:03:47 -07:00