From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933232AbXDZHSr (ORCPT ); Thu, 26 Apr 2007 03:18:47 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S933230AbXDZHSq (ORCPT ); Thu, 26 Apr 2007 03:18:46 -0400 Received: from nigel.suspend2.net ([203.171.70.205]:57825 "EHLO nigel.suspend2.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933232AbXDZHSp (ORCPT ); Thu, 26 Apr 2007 03:18:45 -0400 Subject: Re: suspend2 merge (was Re: [Suspend2-devel] Re: CFS and suspend2: hang in atomic copy) From: Nigel Cunningham Reply-To: nigel@nigel.suspend2.net To: Linus Torvalds Cc: Pavel Machek , Kenneth Crudup , Nick Piggin , Mike Galbraith , linux-kernel@vger.kernel.org, Thomas Gleixner , Con Kolivas , suspend2-devel@lists.suspend2.net, Ingo Molnar , Andrew Morton , Arjan van de Ven In-Reply-To: References: <20070419070437.GA25211@elte.hu> <20070424202336.GC16503@elf.ucw.cz> <20070424212408.GD16457@elf.ucw.cz> <20070425072350.GA6866@ucw.cz> <20070425202741.GC17387@elf.ucw.cz> <20070425214420.GG17387@elf.ucw.cz> <1177540027.5025.87.camel@nigel.suspend2.net> <1177551601.5025.131.camel@nigel.suspend2.net> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-vK5cjDr/MbNozpucR6zy" Date: Thu, 26 Apr 2007 12:31:51 +1000 Message-Id: <1177554711.5025.168.camel@nigel.suspend2.net> Mime-Version: 1.0 X-Mailer: Evolution 2.10.1 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org --=-vK5cjDr/MbNozpucR6zy Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi. Hmm. Perhaps I should have added to that last reply that recognising that they store similar information doesn't mean I think they need the same high-level routine for both state transitions. I'd really like to see each driver have some sort of state machine controlling its power management, into which these calls were just another input (an important one, but just another alongside information about policy, whether we're on battery (UPS or laptop) or AC, whether the device is actually being used and so on. Nigel --=-vK5cjDr/MbNozpucR6zy Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQBGMA8XN0y+n1M3mo0RAn5LAKDqKVwMbZajkGhEmGcdcAAteFJu8ACgpkoQ awCfbfReRpPTFpIyHmr4ZUA= =kBjp -----END PGP SIGNATURE----- --=-vK5cjDr/MbNozpucR6zy--