public inbox for linux-pm@vger.kernel.org
 help / color / mirror / Atom feed
From: Adam Belay <ambx1@neo.rr.com>
To: Jordan Crouse <jordan.crouse@amd.com>
Cc: linux-pm@lists.osdl.org
Subject: Re: [RFC] Power Management Policies
Date: Sat, 23 Apr 2005 03:18:34 -0400	[thread overview]
Message-ID: <20050423071833.GC27771@neo.rr.com> (raw)
In-Reply-To: <20050418093919.37bb40db@cosmic.amd.com>

[-- Attachment #1: Type: text/plain, Size: 1766 bytes --]

On Mon, Apr 18, 2005 at 09:39:19AM -0600, Jordan Crouse wrote:

--> snip

> 
> > I personally have some concerns over too much userspace interaction. 
> > I think these decisions are too device specific, and if we don't take
> > responsibility for them, then the layers above the kernel may not be
> > able to properly handle it.
> 
> I generally favor the "user knows best" policy.  As developers, we will
> make the best overall power management decisions for our drivers
> (timeouts, system state transitions, etc, etc...), but should allow for
> a facility for the user to override these if they so choose (possibly
> through the policy manager).  We can even go so far as to make the
> framework disabled by default in the kernel, so that one has to go in,
> specifically choose it, and thereby take on the additional risk.  

I agree.

As a thought, what if we included some suggested power attribute
configurations as module data (much like we do with pci device IDs now)?
This  would allow the driver developer to pass this information up to
userspace, without imposing any policy.  The default settings could be
performance orriented and then when userspace starts up it could tell the
policy manager to slow things down.

In general, it seems to make sense for userspace to tell the kernel about
policy preferences, but then have the kernel execute those decisions.  If
we were to ship suggested policy options inside of driver modules, then 
driver developers could ensure the user is at least aware of typical policy
configuration values.

Also, it might be useful to distribute a set of userspace power management
tools. We could call it something like "hardware-utils" and have it handle PM
policy and other userspace driver core issues.

Thanks,
Adam

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



  parent reply	other threads:[~2005-04-23  7:18 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-17 21:15 [RFC] Power Management Policies Adam Belay
2005-04-18 15:39 ` Jordan Crouse
2005-04-22 20:05   ` Pavel Machek
2005-04-27 14:08     ` David Brownell
2005-04-27 14:48       ` Pavel Machek
2005-04-28  0:05         ` David Brownell
2005-04-28  8:23           ` Pavel Machek
2005-04-28 17:16             ` David Brownell
2005-04-28 18:59               ` Pavel Machek
2005-04-28 20:28                 ` David Brownell
2005-04-23  7:18   ` Adam Belay [this message]
2005-04-27 14:01     ` David Brownell
2005-04-27 14:22   ` David Brownell
2005-04-27 14:57     ` Jordan Crouse
2005-04-27 16:03       ` David Brownell

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=20050423071833.GC27771@neo.rr.com \
    --to=ambx1@neo.rr.com \
    --cc=jordan.crouse@amd.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