aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorShaohua Li <shaohua.li@intel.com>2006-03-23 06:00:06 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2006-03-23 10:38:08 -0500
commite4e4d665560c75afb6060cb43bb6738777648ca1 (patch)
tree6ba2593af7c9ad44c3348d7a66daa902b0fd3ecf /kernel
parentfc558a7496bfab3d29a68953b07a95883fdcfbb1 (diff)
[PATCH] swsusp: drain high mem pages
Highmem could be in pcp list as well. Signed-off-by: Shaohua Li<shaohua.li@intel.com> Acked-by: Pavel Machek <pavel@ucw.cz> Cc: "Rafael J. Wysocki" <rjw@sisk.pl> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/power/snapshot.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/power/snapshot.c b/kernel/power/snapshot.c
index 1b46c2da5a50..c5863d02c89e 100644
--- a/kernel/power/snapshot.c
+++ b/kernel/power/snapshot.c
@@ -123,6 +123,7 @@ int save_highmem(void)
123 int res = 0; 123 int res = 0;
124 124
125 pr_debug("swsusp: Saving Highmem"); 125 pr_debug("swsusp: Saving Highmem");
126 drain_local_pages();
126 for_each_zone (zone) { 127 for_each_zone (zone) {
127 if (is_highmem(zone)) 128 if (is_highmem(zone))
128 res = save_highmem_zone(zone); 129 res = save_highmem_zone(zone);