[PATCH 04/17] mm: pass the vmem_altmap to arch_add_memory and __add_pages

Dan Williams dan.j.williams at intel.com
Sat Dec 16 12:48:20 AEDT 2017


On Fri, Dec 15, 2017 at 6:09 AM, Christoph Hellwig <hch at lst.de> wrote:
> We can just pass this on instead of having to do a radix tree lookup
> without proper locking 2 levels into the callchain.
>
> Signed-off-by: Christoph Hellwig <hch at lst.de>

Yeah, the lookup of vmem_altmap is too magical and surprising this is better.

Reviewed-by: Dan Williams <dan.j.williams at intel.com>


More information about the Linuxppc-dev mailing list