lkml.org 
[lkml]   [2006]   [Mar]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH]swsusp: drain high mem pages
From
Date
Highmem could be in pcp list as well.

Signed-off-by: Shaohua Li<shaohua.li@intel.com>
---

linux-2.6.15-root/kernel/power/snapshot.c | 1 +
1 files changed, 1 insertion(+)

diff -puN kernel/power/snapshot.c~drain_highmem kernel/power/snapshot.c
--- linux-2.6.15/kernel/power/snapshot.c~drain_highmem 2006-03-14 13:38:16.000000000 +0800
+++ linux-2.6.15-root/kernel/power/snapshot.c 2006-03-14 14:13:30.000000000 +0800
@@ -120,6 +120,7 @@ int save_highmem(void)
int res = 0;

pr_debug("swsusp: Saving Highmem\n");
+ drain_local_pages();
for_each_zone (zone) {
if (is_highmem(zone))
res = save_highmem_zone(zone);
_

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-03-16 04:59    [W:0.034 / U:0.736 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site