From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934936AbXGQUyl (ORCPT ); Tue, 17 Jul 2007 16:54:41 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S936267AbXGQUyR (ORCPT ); Tue, 17 Jul 2007 16:54:17 -0400 Received: from sccrmhc11.comcast.net ([63.240.77.81]:48087 "EHLO sccrmhc11.comcast.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935417AbXGQUyQ (ORCPT ); Tue, 17 Jul 2007 16:54:16 -0400 From: Jeremy Maitin-Shepard To: david@lang.hm Cc: "Rafael J. Wysocki" , Alan Stern , LKML , Andrew Morton , "Eric W. Biederman" , "Huang\, Ying" , Kyle Moffett , Nigel Cunningham , Pavel Machek , pm list , Al Boldi Subject: Re: Hibernation considerations References: <200707172217.01890.rjw@sisk.pl> X-Habeas-SWE-9: mark in spam to . X-Habeas-SWE-8: Message (HCM) and not spam. Please report use of this X-Habeas-SWE-7: warrant mark warrants that this is a Habeas Compliant X-Habeas-SWE-6: email in exchange for a license for this Habeas X-Habeas-SWE-5: Sender Warranted Email (SWE) (tm). The sender of this X-Habeas-SWE-4: Copyright 2002 Habeas (tm) X-Habeas-SWE-3: like Habeas SWE (tm) X-Habeas-SWE-2: brightly anticipated X-Habeas-SWE-1: winter into spring Date: Tue, 17 Jul 2007 16:54:08 -0400 In-Reply-To: (david@lang.hm's message of "Tue\, 17 Jul 2007 13\:34\:24 -0700 \(PDT\)") Message-ID: <87fy3mg39r.fsf@jbms.ath.cx> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.990 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org david@lang.hm writes: [snip] > this is where we disagree. > why not? if all that the hibernated kernel does is to suspend-to-ram and makes > no changes to disks or TCP connections anything that it does do would be lost if > power were to fail and you instead did a restore from disk. It would be okay to switch the "hibernated" kernel in order to e.g. initiate a suspend to ram provided that everything is done atomically with interrupts off, for instance. It is not clear, though, that it is possible to suspend to ram atomically like that. There is also the question of what state the devices will be in when switching back from the "save image" kernel to the "hibernated" kernel. [snip] -- Jeremy Maitin-Shepard