Messages in this thread | | | From | "Rafael J. Wysocki" <> | Subject | Re: [linux-pm] Re: [RFC][PATCH -mm] swsusp: use less memory during resume | Date | Thu, 20 Apr 2006 12:05:41 +0200 |
| |
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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |