Re: [PATCH v6 1/5] mm/sparse-vmemmap: add a pgmap argument to section activation

2022-02-24 Thread Joao Martins
On 2/24/22 03:02, Muchun Song wrote: > On Thu, Feb 24, 2022 at 3:48 AM Joao Martins > wrote: >> >> In support of using compound pages for devmap mappings, plumb the pgmap >> down to the vmemmap_populate implementation. Note that while altmap is >> retrievable from pgmap the memory hotplug code

Re: [PATCH v6 1/5] mm/sparse-vmemmap: add a pgmap argument to section activation

2022-02-23 Thread Muchun Song
On Thu, Feb 24, 2022 at 3:48 AM Joao Martins wrote: > > In support of using compound pages for devmap mappings, plumb the pgmap > down to the vmemmap_populate implementation. Note that while altmap is > retrievable from pgmap the memory hotplug code passes altmap without > pgmap[*], so both need t

[PATCH v6 1/5] mm/sparse-vmemmap: add a pgmap argument to section activation

2022-02-23 Thread Joao Martins
In support of using compound pages for devmap mappings, plumb the pgmap down to the vmemmap_populate implementation. Note that while altmap is retrievable from pgmap the memory hotplug code passes altmap without pgmap[*], so both need to be independently plumbed. So in addition to @altmap, pass @p