Skip to contentSkip to conversation

mm-balloon-enqueue-zero-page-to-balloon-device.patch removed from -mm tree

merged [email protected] 1 participant 1 message Jul 11, 2017

lore
Share & tools
lore

[email protected]

author tree notice Applied
#0 lore raw

The patch titled
Subject: mm/balloon_compaction.c: enqueue zero page to balloon device
has been removed from the -mm tree. Its filename was
mm-balloon-enqueue-zero-page-to-balloon-device.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: "zhenwei.pi" <[email protected]>
Subject: 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.

---

 mm/balloon_compaction.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
mm/balloon_compaction.c renamed from mm/balloon_compaction.c~mm-balloon-enqueue-zero-page-to-balloon-device +1 -1
diff -puN mm/balloon_compaction.c~mm-balloon-enqueue-zero-page-to-balloon-device mm/balloon_compaction.c
@@ -24,7 +24,7 @@ struct page *balloon_page_enqueue(struct
 {
 	unsigned long flags;
 	struct page *page = alloc_page(balloon_mapping_gfp_mask() |
-					__GFP_NOMEMALLOC | __GFP_NORETRY);
+				__GFP_NOMEMALLOC | __GFP_NORETRY | __GFP_ZERO);
 	if (!page)
 		return NULL;
 

_

Patches currently in -mm which might be from [email protected] are