From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Brownell Subject: Re: [RFC] A New Power Management API Date: Sat, 16 Apr 2005 10:13:09 -0700 Message-ID: <200504161013.10135.david-b@pacbell.net> References: <1113533193.3451.40.camel@localhost.localdomain> <9268368b0504150616652c268b@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============16580401181122895==" Return-path: In-Reply-To: <9268368b0504150616652c268b@mail.gmail.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-pm-bounces@lists.osdl.org Errors-To: linux-pm-bounces@lists.osdl.org To: linux-pm@lists.osdl.org, Daniel Petrini Cc: Adam Belay List-Id: linux-pm@vger.kernel.org --===============16580401181122895== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 --===============16580401181122895== Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline --===============16580401181122895==--