Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756355AbXE3ODo (ORCPT ); Wed, 30 May 2007 10:03:44 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755911AbXE3OCz (ORCPT ); Wed, 30 May 2007 10:02:55 -0400 Received: from ogre.sisk.pl ([217.79.144.158]:43076 "EHLO ogre.sisk.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755899AbXE3OCx (ORCPT ); Wed, 30 May 2007 10:02:53 -0400 From: "Rafael J. Wysocki" To: nigel@nigel.suspend2.net Subject: Re: pcmcia resume 60 second hang. Re: [patch 00/69] -stable review Date: Wed, 30 May 2007 16:04:22 +0200 User-Agent: KMail/1.9.5 Cc: Matthew Garrett , Pavel Machek , Linus Torvalds , Linux Kernel Mailing List References: <20070530124027.GA27942@srcf.ucam.org> <1180531067.24891.1.camel@nigel.suspend2.net> In-Reply-To: <1180531067.24891.1.camel@nigel.suspend2.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200705301604.23312.rjw@sisk.pl> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1228 Lines: 30 On Wednesday, 30 May 2007 15:17, Nigel Cunningham wrote: > On Wed, 2007-05-30 at 13:40 +0100, Matthew Garrett wrote: > > On Wed, May 30, 2007 at 01:49:21PM +0200, Pavel Machek wrote: > > > > (Trimmed the Cc:s quite heavily - I think this has gone somewhere beyond > > the original point) > > > > > Notice that we want to be able to suspend while hibernating -- for > > > suspend to both behaviour. So drivers may _not_ rely on system being > > > runnable. > > > > So keep the driver layers read-only and unfreeze the processes after > > doing the atomic copy. > > I know you probably won't care, but that's not an option for Suspend2 - > I get the possibility of a full image by overwriting LRU pages that were > saved prior to the atomic copy. This generally is a problem, not only for suspend2. :-) Once you've unfrozen the user land, we can't rely on the hibernation image any more, because some tasks may cause the on-disk filesystems' state to change. Greetings, Rafael - 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/