Re: [PATCH 2/2] mm/sparse.c: Add nr_present_sections to change the mem_map allocation

From: Dave Hansen
Date: Thu Feb 01 2018 - 09:23:43 EST


On 02/01/2018 06:19 AM, Baoquan He wrote:
>
> I suppose these functions changed here are only called during system
> bootup, namely in paging_init(). Hot-add memory goes in a different
> path, __add_section() -> sparse_add_one_section(), different called
> functions.

But does this keep those sections that were not present on boot from
being added later?