The patch titled swsusp: don't copy pages that arent RAM has been added to the -mm tree. Its filename is swsusp-dont-copy-pages-that-arent-ram.patch *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: swsusp: don't copy pages that arent RAM From: Johannes Berg <johannes@xxxxxxxxxxxxxxxx> Pages that aren't RAM obviously cannot be saved during suspend-to-disk so skip them. Signed-off-by: Johannes Berg <johannes@xxxxxxxxxxxxxxxx> Cc: Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx> Cc: Pavel Machek <pavel@xxxxxx> Cc: "Rafael J. Wysocki" <rjw@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- kernel/power/snapshot.c | 2 ++ 1 files changed, 2 insertions(+) diff -puN kernel/power/snapshot.c~swsusp-dont-copy-pages-that-arent-ram kernel/power/snapshot.c --- a/kernel/power/snapshot.c~swsusp-dont-copy-pages-that-arent-ram +++ a/kernel/power/snapshot.c @@ -686,6 +686,8 @@ static struct page *saveable_page(unsign if (PageReserved(page) && pfn_is_nosave(pfn)) return NULL; + if (!page_is_ram(pfn)) + return NULL; return page; } _ Patches currently in -mm which might be from johannes@xxxxxxxxxxxxxxxx are git-alsa.patch windfarm-dont-die-on-suspend-thread-signal.patch swsusp-dont-copy-pages-that-arent-ram.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html