mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-25 21:24:08 +08:00
[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>
This commit is contained in:
parent
fc558a7496
commit
e4e4d66556
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user