Re: [PATCH 08/17] mm: pass the vmem_altmap to memmap_init_zone

From: Dan Williams
Date: Fri Dec 15 2017 - 21:15:55 EST


On Fri, Dec 15, 2017 at 6:09 AM, Christoph Hellwig <hch@xxxxxx> wrote:
> Pass the vmem_altmap two levels down instead of needing a lookup.
>
> Signed-off-by: Christoph Hellwig <hch@xxxxxx>

Given the fact that HMM and now P2P are attracted to
devm_memremap_pages() I think this churn is worth it. vmem_altmap is
worth being considered a first class citizen of memory hotplug and not
a hidden hack.

Reviewed-by: Dan Williams <dan.j.williams@xxxxxxxxx>