diff options
author | Shaohua Li <shaohua.li@intel.com> | 2006-03-23 14:00:06 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-23 18:38:08 +0300 |
commit | e4e4d665560c75afb6060cb43bb6738777648ca1 (patch) | |
tree | 6ba2593af7c9ad44c3348d7a66daa902b0fd3ecf | |
parent | fc558a7496bfab3d29a68953b07a95883fdcfbb1 (diff) | |
download | linux-e4e4d665560c75afb6060cb43bb6738777648ca1.tar.xz |
[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>
-rw-r--r-- | kernel/power/snapshot.c | 1 |
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) int res = 0; pr_debug("swsusp: Saving Highmem"); + drain_local_pages(); for_each_zone (zone) { if (is_highmem(zone)) res = save_highmem_zone(zone); |