Commit bb01b64c authored by zhenwei.pi's avatar zhenwei.pi Committed by Linus Torvalds
Browse files

mm/balloon_compaction.c: enqueue zero page to balloon device

presently pages in the balloon device have random value, and these pages
will be scanned by ksmd on the host.  They usually cannot be merged.
Enqueue zero pages will resolve this problem.


Signed-off-by: default avatarzhenwei.pi <>
Cc: Gioh Kim <>
Cc: Vlastimil Babka <>
Cc: Minchan Kim <>
Cc: Konstantin Khlebnikov <>
Cc: Rafael Aquini <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent e048cb32
......@@ -24,7 +24,7 @@ struct page *balloon_page_enqueue(struct balloon_dev_info *b_dev_info)
unsigned long flags;
struct page *page = alloc_page(balloon_mapping_gfp_mask() |
if (!page)
return NULL;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment