mm: split altmap memory map allocation from normal case
authorChristoph Hellwig <hch@lst.de>
Fri, 29 Dec 2017 07:53:58 +0000 (08:53 +0100)
committerDan Williams <dan.j.williams@intel.com>
Mon, 8 Jan 2018 19:46:23 +0000 (11:46 -0800)
commita8fc357b2875da8732c91eb085862a0648d82767
treef0c78fe50e93716475f91968dcbba9ff0d3166b4
parenta99583e780c751003ac9c0105eec9a3b23ec3bc4
mm: split altmap memory map allocation from normal case

No functional changes, just untangling the call chain and document
why the altmap is passed around the hotplug code.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Logan Gunthorpe <logang@deltatee.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
arch/powerpc/mm/init_64.c
arch/x86/mm/init_64.c
include/linux/mm.h
mm/sparse-vmemmap.c