mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Daniel Lezcano <daniel.lezcano@linaro.org>
To: rjw@sisk.pl
Cc: jwerner@chromium.org, francescolavra.fl@gmail.com,
	linux-pm@vger.kernel.org, deepthi@linux.vnet.ibm.com,
	g.trinabh@gmail.com, linaro-dev@lists.linaro.org,
	len.brown@intel.com, linux-kernel@vger.kernel.org,
	akpm@linux-foundation.org, snanda@chromium.org
Subject: [PATCH 0/2][V2] cpuidle - remove power from the select equation
Date: Fri, 14 Dec 2012 14:57:33 +0100	[thread overview]
Message-ID: <1355493455-30665-1-git-send-email-daniel.lezcano@linaro.org> (raw)

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


             reply	other threads:[~2012-12-14 13:57 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-14 13:57 Daniel Lezcano [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1355493455-30665-1-git-send-email-daniel.lezcano@linaro.org \
    --to=daniel.lezcano@linaro.org \
    --cc=akpm@linux-foundation.org \
    --cc=deepthi@linux.vnet.ibm.com \
    --cc=francescolavra.fl@gmail.com \
    --cc=g.trinabh@gmail.com \
    --cc=jwerner@chromium.org \
    --cc=len.brown@intel.com \
    --cc=linaro-dev@lists.linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=rjw@sisk.pl \
    --cc=snanda@chromium.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®