The patch titled Subject: mm/page_alloc.c: remove redundant init code for ZONE_MOVABLE has been added to the -mm tree. Its filename is mm-page_alloc-remove-redundant-init-code-for-zone_movable.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/mm-page_alloc-remove-redundant-init-code-for-zone_movable.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/mm-page_alloc-remove-redundant-init-code-for-zone_movable.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Wei Yang <richard.weiyang@xxxxxxxxx> 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. Link: http://lkml.kernel.org/r/20170209141731.60208-1-richard.weiyang@xxxxxxxxx Signed-off-by: Wei Yang <richard.weiyang@xxxxxxxxx> Cc: Anshuman Khandual <khandual@xxxxxxxxxxxxxxxxxx> Cc: Mel Gorman <mgorman@xxxxxxxxxxxxxxxxxxx> Cc: Michal Hocko <mhocko@xxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/page_alloc.c | 2 -- 1 file changed, 2 deletions(-) diff -puN mm/page_alloc.c~mm-page_alloc-remove-redundant-init-code-for-zone_movable mm/page_alloc.c --- a/mm/page_alloc.c~mm-page_alloc-remove-redundant-init-code-for-zone_movable +++ a/mm/page_alloc.c @@ -6494,8 +6494,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 richard.weiyang@xxxxxxxxx are mm-memblockc-trivial-code-refine-in-memblock_is_region_memory.patch mm-memblockc-check-return-value-of-memblock_reserve-in-memblock_virt_alloc_internal.patch mm-page_alloc-return-0-in-case-this-node-has-no-page-within-the-zone.patch mm-page_alloc-remove-redundant-init-code-for-zone_movable.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html