cpuidle: governor: menu: don't use loadavg
authorColin Cross <ccross@android.com>
Mon, 19 Sep 2011 23:42:44 +0000 (16:42 -0700)
committerJohn Stultz <john.stultz@linaro.org>
Tue, 16 Feb 2016 21:52:31 +0000 (13:52 -0800)
commit4dedd9f124703207895777ac6e91dacde0f7cc17
treed34fb7594655807f76331fde1f2f7fe4b13923b8
parent7abc800d049ee8e673acab90032e7cfbad1600a6
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