linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2][V2] cpuidle - remove power from the select equation
@ 2012-12-14 13:57 Daniel Lezcano
       [not found] ` <1355493455-30665-1-git-send-email-daniel.lezcano-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Daniel Lezcano @ 2012-12-14 13:57 UTC (permalink / raw)
  To: rjw-KKrjLPT3xs0
  Cc: deepthi-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8,
	g.trinabh-Re5JQEeQqe8AvxtiuMwx3w,
	linaro-dev-cunTk1MwBs8s++Sfvej+rw,
	len.brown-ral2JQCrhuEAvxtiuMwx3w, linux-pm-u79uwXL29TY76Z2rM5mHXA,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	jwerner-F7+t8E8rja9g9hUCZPvPmw,
	akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b,
	snanda-F7+t8E8rja9g9hUCZPvPmw

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-01-11 19:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-14 13:57 [PATCH 0/2][V2] cpuidle - remove power from the select equation Daniel Lezcano
     [not found] ` <1355493455-30665-1-git-send-email-daniel.lezcano-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2012-12-14 13:57   ` [PATCH 1/2][V2] cpuidle - remove the power_specified field in the driver Daniel Lezcano
2012-12-14 13:57   ` [PATCH 2/2][V2] cpuidle - optimize the select function for the 'menu' governor Daniel Lezcano
2012-12-16 16:11     ` Francesco Lavra
2013-01-11 19:12       ` Julius Werner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).