From: venkatesh.pallipadi@intel.com Date: Mon, 4 Aug 2008 18:59:08 +0000 (-0700) Subject: [CPUFREQ][2/6] cpufreq: Change load calculation in ondemand for software coordination X-Git-Tag: v2.6.28-rc1~722^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c43aa3bd99a67009a167430e80c5fde6f37288d8;p=pandora-kernel.git [CPUFREQ][2/6] cpufreq: Change load calculation in ondemand for software coordination Change the load calculation algorithm in ondemand to work well with software coordination of frequency across the dependent cpus. Multiply individual CPU utilization with the average freq of that logical CPU during the measurement interval (using getavg call). And find the max CPU utilization number in terms of CPU freq. That number is then used to get to the target freq for next sampling interval. Signed-off-by: Venkatesh Pallipadi Signed-off-by: Dave Jones --- Reading git-diff-tree failed