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
Subject: Re: [RFC] Power Management Policies
Date: Wed, 27 Apr 2005 07:01:54 -0700	[thread overview]
Message-ID: <200504270701.55152.david-b@pacbell.net> (raw)
In-Reply-To: <20050423071833.GC27771@neo.rr.com>

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

On Saturday 23 April 2005 12:18 am, Adam Belay wrote:
> > > 
> > > 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.

Me too ...

> 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.

The way I view things:  drivers offer choice-of-policy to userspace,
then userspace chooses the policy.

What I want to avoid is treating active userspace intervention as the
normal case ... polling every Nth-of-a-second as one example.  It's
quite reasonable for userspace to deal with higher level notions that
are already application-visible, like LCD (back)lighting or various
activity timeouts.  It's quite another thing to create interfaces
specifically to export low level monitoring to userspace.

- Dave

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



  reply	other threads:[~2005-04-27 14:01 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
2005-04-27 14:01     ` David Brownell [this message]
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=200504270701.55152.david-b@pacbell.net \
    --to=david-b@pacbell.net \
    --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