diff options
author | Shaohua Li <shaohua.li@intel.com> | 2006-03-23 12:00:06 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-23 16:38:08 +0100 |
commit | e4e4d665560c75afb6060cb43bb6738777648ca1 (patch) | |
tree | 6ba2593af7c9ad44c3348d7a66daa902b0fd3ecf /kernel/power/snapshot.c | |
parent | [PATCH] swsusp: finally solve mysqld problem (diff) | |
download | linux-e4e4d665560c75afb6060cb43bb6738777648ca1.tar.xz 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); |