Re: [PATCH v8 01/12] mm/sparsemem: Introduce struct mem_section_usage

2019-05-10 Thread osalvador
On 2019-05-07 01:39, Dan Williams wrote: Towards enabling memory hotplug to track partial population of a section, introduce 'struct mem_section_usage'. A pointer to a 'struct mem_section_usage' instance replaces the existing pointer to a 'pageblock_flags' bitmap. Effectively it adds one more

Re: [PATCH v8 08/12] mm/sparsemem: Prepare for sub-section ranges

2019-05-10 Thread osalvador
On 2019-05-07 01:40, Dan Williams wrote: Prepare the memory hot-{add,remove} paths for handling sub-section ranges by plumbing the starting page frame and number of pages being handled through arch_{add,remove}_memory() to sparse_{add,remove}_one_section(). This is simply plumbing, small cleanup

Re: [PATCH v8 03/12] mm/sparsemem: Add helpers track active portions of a section at boot

2019-05-10 Thread osalvador
On 2019-05-07 01:39, Dan Williams wrote: Prepare for hot{plug,remove} of sub-ranges of a section by tracking a sub-section active bitmask, each bit representing a PMD_SIZE span of the architecture's memory hotplug section size. The implications of a partially populated section is that pfn_vali