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

Matthew Garrett
2007-07-05T15:00:42Z

On Thu, Jul 05, 2007 at 07:46:01AM -0700, Ray Lee wrote:

> 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.

Saving the processes means that you're implicitly saving the interesting
chunks of the page cache. Removing the need for the atomic copy saves
you from pushing a pile of stuff out to swap in the first place.

--
Matthew Garrett | mjg59@srcf.ucam.org