diff options
author | Shaohua Li <shaohua.li@intel.com> | 2006-03-23 03:00:06 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-23 07:38:08 -0800 |
commit | e4e4d665560c75afb6060cb43bb6738777648ca1 (patch) | |
tree | 6ba2593af7c9ad44c3348d7a66daa902b0fd3ecf /kernel/power/snapshot.c | |
parent | fc558a7496bfab3d29a68953b07a95883fdcfbb1 (diff) | |
download | blackbird-op-linux-e4e4d665560c75afb6060cb43bb6738777648ca1.tar.gz blackbird-op-linux-e4e4d665560c75afb6060cb43bb6738777648ca1.zip |
[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/power/snapshot.c')
-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); |