From: Shaohua Li Date: Thu, 23 Mar 2006 11:00:06 +0000 (-0800) Subject: [PATCH] swsusp: drain high mem pages X-Git-Tag: v2.6.17-rc1~1070 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=e4e4d665560c75afb6060cb43bb6738777648ca1;p=linux-2.6-omap-h63xx.git [PATCH] swsusp: drain high mem pages Highmem could be in pcp list as well. Signed-off-by: Shaohua Li Acked-by: Pavel Machek Cc: "Rafael J. Wysocki" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/kernel/power/snapshot.c b/kernel/power/snapshot.c index 1b46c2da5a5..c5863d02c89 100644 --- a/kernel/power/snapshot.c +++ b/kernel/power/snapshot.c @@ -123,6 +123,7 @@ int save_highmem(void) int res = 0; pr_debug("swsusp: Saving Highmem"); + drain_local_pages(); for_each_zone (zone) { if (is_highmem(zone)) res = save_highmem_zone(zone);