Revision f623f0db8e6aa86a37be86167e4ff478821a9f4f authored by Rafael J. Wysocki on 26 September 2006, 06:32:49 UTC, committed by Linus Torvalds on 26 September 2006, 15:48:59 UTC
Clean up mm/page_alloc.c#mark_free_pages() and make it avoid clearing
PageNosaveFree for PageNosave pages.  This allows us to get rid of an ugly
hack in kernel/power/snapshot.c#copy_data_pages().

Additionally, the page-copying loop in copy_data_pages() is moved to an
inline function.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Cc: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
1 parent e3920fb
History

back to top