[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200705301604.23312.rjw@sisk.pl>
Date: Wed, 30 May 2007 16:04:22 +0200
From: "Rafael J. Wysocki" <rjw@...k.pl>
To: nigel@...el.suspend2.net
Cc: Matthew Garrett <mjg59@...f.ucam.org>, Pavel Machek <pavel@....cz>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: pcmcia resume 60 second hang. Re: [patch 00/69] -stable review
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists