[PATCH 0/2][V2] cpuidle - remove power from the select equation

From: Daniel Lezcano
Date: Fri Dec 14 2012 - 08:58:09 EST


The states could be sorted in the power backward order, we get rid of
some lines of code and by this way that fixes also a bug in the dynamic
c-states.

Changelog:

V2:
* added the optimization in the select menu governor

Daniel Lezcano (2):
cpuidle - remove the power_specified field in the driver
cpuidle - optimize the select function for the 'menu' governor

drivers/cpuidle/cpuidle.c | 17 ++++-------------
drivers/cpuidle/driver.c | 25 -------------------------
drivers/cpuidle/governors/menu.c | 20 ++++++++------------
include/linux/cpuidle.h | 2 +-
4 files changed, 13 insertions(+), 51 deletions(-)

--
1.7.5.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/