cpuidle: governor: menu: don't use loadavg
authorColin Cross <ccross@android.com>
Mon, 19 Sep 2011 23:42:44 +0000 (16:42 -0700)
committerColin Cross <ccross@android.com>
Tue, 14 Feb 2012 19:25:36 +0000 (11:25 -0800)
commita134394008368f33920c7609cf94ef307692aefc
tree3922ecca8139b65bbcb4cbd183d789ec6150346c
parent1d3d549416a1e55087eb5b9f44c4361e7c6faae8
cpuidle: governor: menu: don't use loadavg

get_loadavg doesn't work as intended.  According to the comments, it
should be returning an average over a few seconds, but it is actually
reading the instantaneous load.  It is almost always returning 0, but
can sometimes, depending on workload, spike very high into the hundreds
even when the average cpu load is under 10%.  Disable it for now.

Change-Id: I63ed100af1cf9463549939b8113ed83676db5f86
Signed-off-by: Colin Cross <ccross@android.com>
drivers/cpuidle/governors/menu.c