Re: [External] Re: [PATCH v17 1/9] mm: memory_hotplug: factor out bootmem core functions to bootmem_info.c

2021-03-03 Thread Muchun Song
On Thu, Mar 4, 2021 at 12:26 PM Balbir Singh wrote: > > On Wed, Mar 03, 2021 at 01:45:00PM +1100, Singh, Balbir wrote: > > On 26/2/21 12:21 am, Muchun Song wrote: > > > Move bootmem info registration common API to individual bootmem_info.c. > > > And we will use {get,put}_page_bootmem() to

Re: [PATCH v17 1/9] mm: memory_hotplug: factor out bootmem core functions to bootmem_info.c

2021-03-03 Thread Balbir Singh
On Wed, Mar 03, 2021 at 01:45:00PM +1100, Singh, Balbir wrote: > On 26/2/21 12:21 am, Muchun Song wrote: > > Move bootmem info registration common API to individual bootmem_info.c. > > And we will use {get,put}_page_bootmem() to initialize the page for the > > vmemmap pages or free the vmemmap

Re: [PATCH v17 1/9] mm: memory_hotplug: factor out bootmem core functions to bootmem_info.c

2021-03-03 Thread Singh, Balbir
On 26/2/21 12:21 am, Muchun Song wrote: > Move bootmem info registration common API to individual bootmem_info.c. > And we will use {get,put}_page_bootmem() to initialize the page for the > vmemmap pages or free the vmemmap pages to buddy in the later patch. > So move them out of

Re: [External] Re: [PATCH v17 1/9] mm: memory_hotplug: factor out bootmem core functions to bootmem_info.c

2021-02-28 Thread Muchun Song
On Sat, Feb 27, 2021 at 2:06 AM Bodeddula, Balasubramaniam wrote: > > Tested-by: boded...@amazon.com Very thanks for your test. > > > > We are interested in this patch and have tested an earlier version of this > patch on 5.11-rc4 kernel version. I did a functional validation of the > changes

[PATCH v17 1/9] mm: memory_hotplug: factor out bootmem core functions to bootmem_info.c

2021-02-25 Thread Muchun Song
Move bootmem info registration common API to individual bootmem_info.c. And we will use {get,put}_page_bootmem() to initialize the page for the vmemmap pages or free the vmemmap pages to buddy in the later patch. So move them out of CONFIG_MEMORY_HOTPLUG_SPARSE. This is just code movement without