# Re: \[PATCH 3/6\] mm/sparse-vmemmap: drop Device DAX-specific population path

- From: Qi Zheng \<qi.zheng@linux.dev\>
- Date: 2026-09-22 08:07:20 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2026/09/17620196
- Thread: https://ratatoskr.run/linuxppc-dev/2026/09/17568432/t.md

```text


On 9/13/26 4:37 PM, Muchun Song wrote:
> The common vmemmap path selects the shared page for optimized mappings
> itself, so Device DAX no longer needs vmemmap_populate_compound_pages()
> to find a shared tail page and pass its backing PFN through the generic
> population helpers.
>
> Remove the Device DAX-specific population path and let section memmap
> population always use vmemmap_populate(). The powerpc retains an
> architecture-specific compound-page implementation, so select it directly
> from radix__vmemmap_populate() for optimizable sections.
>
> Signed-off-by: Muchun Song <redacted>
> ---
>   arch/powerpc/mm/book3s64/radix_pgtable.c |  3 +
>   mm/mm_init.c                             |  2 +-
>   mm/sparse-vmemmap.c                      | 71 +-----------------------
>   3 files changed, 5 insertions(+), 71 deletions(-)

Acked-by: Qi Zheng <qi.zheng@linux.dev>

Thanks,
Qi

```
