Skip to contentSkip to conversation

mm-page_alloc-remove-redundant-init-code-for-zone_movable.patch removed from -mm tree

merged [email protected] 1 participant 1 message Feb 27, 2017

lore
Share & tools
lore

[email protected]

author tree notice Applied
#0 lore raw

The patch titled
Subject: mm/page_alloc.c: remove redundant init code for ZONE_MOVABLE
has been removed from the -mm tree. Its filename was
mm-page_alloc-remove-redundant-init-code-for-zone_movable.patch

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

------------------------------------------------------
From: Wei Yang <[email protected]>
Subject: mm/page_alloc.c: remove redundant init code for ZONE_MOVABLE

arch_zone_lowest/highest_possible_pfn[] is set to 0 and [ZONE_MOVABLE] is skipped in the loop. No need to reset them to 0 again.

This patch just removes the redundant code.

---

 mm/page_alloc.c |    2 --
 1 file changed, 2 deletions(-)
mm/page_alloc.c renamed from mm/page_alloc.c~mm-page_alloc-remove-redundant-init-code-for-zone_movable +0 -2
diff -puN mm/page_alloc.c~mm-page_alloc-remove-redundant-init-code-for-zone_movable mm/page_alloc.c
@@ -6489,8 +6489,6 @@ void __init free_area_init_nodes(unsigne
 
 		start_pfn = end_pfn;
 	}
-	arch_zone_lowest_possible_pfn[ZONE_MOVABLE] = 0;
-	arch_zone_highest_possible_pfn[ZONE_MOVABLE] = 0;
 
 	/* Find the PFNs that ZONE_MOVABLE begins at in each node */
 	memset(zone_movable_pfn, 0, sizeof(zone_movable_pfn));

_

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

mm-page_alloc-return-0-in-case-this-node-has-no-page-within-the-zone.patch