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
Also in
linux-mm, lkml
Reply to
Muchun Song, 2026-09-13

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
Thread (18 messages) 18 messages, 3 authors, last reply 2026-09-22
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help