From: Pallipadi, Venkatesh Date: Thu, 12 Nov 2009 00:50:29 +0000 (-0800) Subject: [CPUFREQ] Resolve time unit thinko in ondemand/conservative govs X-Git-Tag: v2.6.32-rc8~4^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=54c9a35d9faef06e00e2a941eb8fe674f1886901;p=pandora-kernel.git [CPUFREQ] Resolve time unit thinko in ondemand/conservative govs ondemand and conservative governors are messing up time units in the code path where NO_HZ is not enabled and ignore_nice is set. The walltime idletime stored is in jiffies and nice time calculation is happening in microseconds. The problem was reported and diagnosed by Alexander here. http://marc.info/?l=linux-kernel&m=125752550404513&w=2 The patch below fixes this thinko. Reported-by: Alexander Miller Tested-by: Alexander Miller Signed-off-by: Venkatesh Pallipadi Signed-off-by: Dave Jones --- Reading git-diff-tree failed