[PATCH v2 0/5] Refactor free_area_init_node/free_area_init_core

From: osalvador
Date: Thu Jul 19 2018 - 09:27:49 EST


From: Oscar Salvador <osalvador@xxxxxxx>

This patchset pretends to make free_area_init_core more readable by
moving the ifdefery to inline functions, and while we are at it,
it optimizes the function a little bit (better explained in patch 3).

Oscar Salvador (4):
mm/page_alloc: Move ifdefery out of free_area_init_core
mm/page_alloc: Optimize free_area_init_core
mm/page_alloc: Inline function to handle
CONFIG_DEFERRED_STRUCT_PAGE_INIT
mm/page_alloc: Only call pgdat_set_deferred_range when the system
boots

Pavel Tatashin (1):
mm: access zone->node via zone_to_nid() and zone_set_nid()

include/linux/mm.h | 9 ---
include/linux/mmzone.h | 26 ++++++--
mm/mempolicy.c | 4 +-
mm/mm_init.c | 9 +--
mm/page_alloc.c | 159 +++++++++++++++++++++++++++++--------------------
5 files changed, 120 insertions(+), 87 deletions(-)

--
2.13.6