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

2022-02-11 Thread Joao Martins
On 2/11/22 08:03, Muchun Song wrote: > On Fri, Feb 11, 2022 at 3:34 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 pa

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

2022-02-11 Thread Muchun Song
On Fri, Feb 11, 2022 at 3:34 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 v5 1/5] mm/sparse-vmemmap: add a pgmap argument to section activation

2022-02-10 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