cpuidle: governor: menu: don't use loadavg
authorColin Cross <ccross@android.com>
Mon, 19 Sep 2011 23:42:44 +0000 (16:42 -0700)
committermgross <mark.gross@intel.com>
Wed, 9 Nov 2011 20:24:16 +0000 (12:24 -0800)
commit4d71aec879f3344f451bd09853df8ea8167f45db
tree3c264c7d8635f312adb1d27cafcd10acb8752a0c
parentfa61d1191c8dcef04a4976011c70e6c79fd570dc
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