Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753133AbXFCWdV (ORCPT ); Sun, 3 Jun 2007 18:33:21 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751543AbXFCWdO (ORCPT ); Sun, 3 Jun 2007 18:33:14 -0400 Received: from ogre.sisk.pl ([217.79.144.158]:36338 "EHLO ogre.sisk.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751051AbXFCWdN (ORCPT ); Sun, 3 Jun 2007 18:33:13 -0400 From: "Rafael J. Wysocki" To: Pavel Machek Subject: Re: [RFC][PATCH -mm 1/2] PM: Introduce hibernation and suspend notifiers Date: Mon, 4 Jun 2007 00:38:53 +0200 User-Agent: KMail/1.9.5 Cc: pm list , LKML , Matthew Garrett , Nigel Cunningham , Alan Stern , Oliver Neukum References: <200705272229.21263.rjw@sisk.pl> <200706020243.20117.rjw@sisk.pl> <20070603164143.GB4093@ucw.cz> In-Reply-To: <20070603164143.GB4093@ucw.cz> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200706040038.54161.rjw@sisk.pl> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 954 Lines: 30 On Sunday, 3 June 2007 18:41, Pavel Machek wrote: > Hi! > > > From: Rafael J. Wysocki > > > > Make it possible to register hibernation and suspend notifiers, so that > > subsystems can perform hibernation-related or suspend-related operations that > > should not be carried out by device drivers' .suspend() and .resume() routines. > > One more question: what will we call in suspend-to-both case? I do not > think we can call SUSPEND_PREPARE with frozen tasks, so just one call > to HIBERNATION_PREPARE? Yes, right now it should work this way. > > Signed-off-by: Rafael J. Wysocki > Ack. Thanks! Rafael -- "Premature optimization is the root of all evil." - Donald Knuth - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/