Re: [linux-pm] Re: [PATCH] Remove process freezer from suspend to RAM pathway

From: Ray Lee
Date: Thu Jul 05 2007 - 10:46:18 EST


On 7/5/07, Matthew Garrett <mjg59@xxxxxxxxxxxxx> wrote:
On Thu, Jul 05, 2007 at 04:09:24PM +0200, Rafael J. Wysocki wrote:
> On Thursday, 5 July 2007 15:46, Matthew Garrett wrote:
> > I have a model for STD that avoids the need to freeze the entirity of
> > userspace, but I need to find some more time to flesh it out.
>
> You can just describe it, as far as I'm concerned. :-)

The basic model is that nobody's really described a use-case where we
actually care about restoring system state. What people want is to be
able to restore application state.

Hmm, careful. There are a bunch of people who use suspend2 exactly
because it saves and restores the page cache, leaving the system in a
usable state without waiting for the universe to swap back in from
disk. It makes a big difference on older laptops with slow drives.
While the other advantages you list for process cryogenics are pretty
neat, let's remember that the 99% use case for STD is laptops.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/