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, Daniel Petrini <d.pensator@gmail.com>
Cc: Adam Belay <abelay@novell.com>
Subject: Re: [RFC] A New Power Management API
Date: Sat, 16 Apr 2005 10:13:09 -0700	[thread overview]
Message-ID: <200504161013.10135.david-b@pacbell.net> (raw)
In-Reply-To: <9268368b0504150616652c268b@mail.gmail.com>

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

On Friday 15 April 2005 6:16 am, Daniel Petrini wrote:
> 
> Suggestion: as discussed in early weeks, why don't adopt names taking into 
> consideration that Linux can run in systems other than desktops and servers?
> 
> #define PM_SYSTEM_STATE_SUSPEND_RAM 0x00000010
> #define PM_SYSTEM_STATE_SUSPEND_DISK 0x00000020

The notion of RAM doesn't bother me much, although it may matter
whether that means "all system RAM is preserved" versus "only a
small bit of on-chip SDRAM is preserved".

The notion of DISK bothers me more.  Systems with only FLASH/MTD
probably aren't more demanding of PM infrastructure, but when
folk assume that the only non-volatile storage is a disk, it may
start to seem that way.

For the moment, maybe using "NONVOLATILE" rather than DISK would
be good.  Also, somewhat of a nit, those aren't exactly states,
so maybe take at least the _STATE_ thingie out.

- Dave


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



  parent reply	other threads:[~2005-04-16 17:13 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-15  2:46 [RFC] A New Power Management API Adam Belay
2005-04-15  8:21 ` Benjamin Herrenschmidt
2005-04-15 13:16 ` Daniel Petrini
2005-04-15 18:20   ` Adam Belay
2005-04-16 17:13   ` David Brownell [this message]
2005-04-17 20:26     ` Adam Belay
2005-04-15 15:50 ` Jordan Crouse
2005-04-15 18:54   ` Adam Belay
2005-04-16  2:53     ` Todd Poynor
2005-04-16 19:26       ` David Brownell
2005-04-19  3:09         ` Todd Poynor
2005-05-08 19:05           ` David Brownell
2005-04-16 18:24     ` David Brownell
2005-04-17 20:48       ` Adam Belay
2005-04-17 22:29         ` David Brownell
2005-04-17 23:01           ` Adam Belay
2005-04-16 17:27 ` David Brownell
2005-04-17 20:25   ` Adam Belay

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=200504161013.10135.david-b@pacbell.net \
    --to=david-b@pacbell.net \
    --cc=abelay@novell.com \
    --cc=d.pensator@gmail.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