NOHZ: Properly feed cpufreq ondemand governor
authorEero Nurkkala <ext-eero.nurkkala@nokia.com>
Mon, 25 May 2009 06:57:37 +0000 (09:57 +0300)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 27 May 2009 13:33:43 +0000 (15:33 +0200)
commitf2e21c9610991e95621a81407cdbab881226419b
tree00967210caf3b2ab82d0d0d29da0816d8978b8aa
parentcd86a536c81e9300d984327517548ca0652eebf9
NOHZ: Properly feed cpufreq ondemand governor

A call from irq_exit() may occasionally pause the timing
info for cpufreq ondemand governor. This results in the
cpufreq ondemand governor to fail to calculate the
system load properly. Thus, relocate the checks for this
particular case to keep the governor always functional.

Signed-off-by: Eero Nurkkala <ext-eero.nurkkala@nokia.com>
Reported-by: Tero Kristo <tero.kristo@nokia.com>
Acked-by: Rik van Riel <riel@redhat.com>
Acked-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/time/tick-sched.c