[PATCH 06/11] mm: fix register_new_memory() zone type detection

2016-12-01 Thread Dan Williams
In preparation for sub-section memory hotplug support, remove a dependency on ->section_mem_map being populated. In SPARSEMEM_VMEMMAP=y configurations pfn_to_page() does not use ->section_mem_map. The sub-section hotplug support relies on this fact and skips initializing it. Without

[PATCH 06/11] mm: fix register_new_memory() zone type detection

2016-12-01 Thread Dan Williams
In preparation for sub-section memory hotplug support, remove a dependency on ->section_mem_map being populated. In SPARSEMEM_VMEMMAP=y configurations pfn_to_page() does not use ->section_mem_map. The sub-section hotplug support relies on this fact and skips initializing it. Without