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>
Mon, 19 Sep 2011 23:56:40 +0000 (16:56 -0700)
commit5cd52e05024319101e86e948f6c1983cb4d3c496
tree6abe9c68661037232d2dc378e73916892ac14b3b
parent9cbad3982d18130fcd967aad3d9dc4a5f8b3cbf4
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