projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc558a7
)
[PATCH] swsusp: drain high mem pages
author
Shaohua Li
<shaohua.li@intel.com>
Thu, 23 Mar 2006 11:00:06 +0000
(
03:00
-0800)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Thu, 23 Mar 2006 15:38:08 +0000
(07:38 -0800)
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>
kernel/power/snapshot.c
patch
|
blob
|
history
diff --git
a/kernel/power/snapshot.c
b/kernel/power/snapshot.c
index 1b46c2da5a50566ff7a1997b9c83581d5f9c9554..c5863d02c89efc08ef430752bb062f0aafcb4bc7 100644
(file)
--- 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);