Re: [linux-pm] Re: [RFC][PATCH -mm] swsusp: use less memory during resume

From: Rafael J. Wysocki
Date: Thu Apr 20 2006 - 06:06:29 EST


Hi,

On Wednesday 19 April 2006 10:31, Nigel Cunningham wrote:
> On Wednesday 19 April 2006 18:05, Rafael J. Wysocki wrote:
> > On Tuesday 18 April 2006 15:07, Nigel Cunningham wrote:
> > > On Tuesday 18 April 2006 21:19, Rafael J. Wysocki wrote:
}-- snip --{
> > > Haven't looked at the patch itself, but this sounds like a great idea. I
> > > wonder though, won't the 50% limit still apply, because you'll still have
> > > to make an atomic copy to start with (unless you figure out which pages
> > > aren't going to change and therefore don't need to be atomically copied)?
> >
> > You are right, and I'm going to figure out which pages won't change. I
> > think I have some good candidates. ;-)
>
> LRU by any chance? :)

Generally yes, but not all of them. First of all pages that are mapped by
frozen processes. Maybe some others too, but that will have to be handled
with care. ;-)

Greetings,
Rafael
-
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/