- swsusp-dont-copy-pages-that-arent-ram.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     swsusp: don't copy pages that arent RAM
has been removed from the -mm tree.  Its filename was
     swsusp-dont-copy-pages-that-arent-ram.patch

This patch was dropped because it was nacked by the maintainer

------------------------------------------------------
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

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux