public inbox for linux-pm@vger.kernel.org
 help / color / mirror / Atom feed
From: David Brownell <david-b@pacbell.net>
To: linux-pm@lists.osdl.org
Cc: ??? <ikhwan.lee@samsung.com>
Subject: Re: sysfs power/state file & dpm_runtime_suspend()
Date: Thu, 27 Jul 2006 08:53:53 -0700	[thread overview]
Message-ID: <200607270853.54674.david-b@pacbell.net> (raw)
In-Reply-To: <Pine.LNX.4.44L0.0607271027400.6315-100000@iolanthe.rowland.org>

On Thursday 27 July 2006 7:43 am, Alan Stern wrote:
> 
> 	Proper runtime power management requires drivers to change their
> 	devices' power states as needed, with no intervention of the PM
> 	core.  Neither power/state nor power.power_state.event is really
> 	necessary for this purpose.

That's a key point that I think was not widely understood early on.  The
driver APIs exist to make sure systems can be cleanly shut down ... not
to reduce power usage.  At best, that sysfs power/state thing is a big
distraction from actually trying to make drivers be power-efficient.

See list archives for the "RFC -- updated Documentation/power/devices.txt"
thread; one of my last posts there has a version of that document with lots
of examples of how runtime power saving works; it does NOT need to involve
any kind of public power state updating.  Things like cpufreq and dynamic
tick, or power-aware idle tasks, don't need to change externally visible
state any more than per-device power saving policies do.

- Dave

  reply	other threads:[~2006-07-27 15:53 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-27 11:34 sysfs power/state file & dpm_runtime_suspend() ???
2006-07-27 14:43 ` Alan Stern
2006-07-27 15:53   ` David Brownell [this message]
2006-08-16  7:17     ` Ikhwan Lee
2006-08-16 15:37       ` Alan Stern
2006-08-17  1:46         ` Ikhwan Lee
2006-08-17 14:18           ` Alan Stern
2006-08-16 19:09       ` David Brownell
2006-08-17  2:41         ` Ikhwan Lee
2006-08-17  6:31           ` Matthew Locke

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=200607270853.54674.david-b@pacbell.net \
    --to=david-b@pacbell.net \
    --cc=ikhwan.lee@samsung.com \
    --cc=linux-pm@lists.osdl.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