Re: [RFC][PATCH 2/3] swsusp: Do not use page flags
- From: Pavel Machek <pavel@xxxxxx>
- Date: Mon, 12 Mar 2007 10:03:35 +0100
Hi!
Make swsusp use memory bitmaps instead of page flags for marking 'nosave' and
free pages. This allows us to 'recycle' two page flags that can be used for other
purposes. Also, the memory needed to store the bitmaps is allocated when
necessary (ie. before the suspend) and freed after the resume which is more
reasonable.
The patch is designed to minimize the amount of changes and there are some nice
simplifications and optimizations possible on top of it. I am going to
implement them separately in the future.
Signed-off-by: Rafael J. Wysocki <rjw@xxxxxxx>
Looks ok, but needs to stay in -mm for a while. ACK.
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
-
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/
- References:
- [RFC][PATCH 0/3] swsusp: Stop using page flags
- From: Rafael J. Wysocki
- [RFC][PATCH 2/3] swsusp: Do not use page flags
- From: Rafael J. Wysocki
- [RFC][PATCH 0/3] swsusp: Stop using page flags
- Prev by Date: Re: [RFC][PATCH 3/3] mm: Remove unused page flags
- Next by Date: Re: PCI failures during boot
- Previous by thread: [RFC][PATCH 2/3] swsusp: Do not use page flags
- Next by thread: Re: [RFC][PATCH 0/3] swsusp: Stop using page flags
- Index(es):
Relevant Pages
|