Re: [PATCH REPOST 4/5] mm/damon/vaddr: extend apply_probes() for hugetlb

From: Lian Wang

Date: Thu Sep 10 2026 - 22:01:07 EST


On Wed, 9 Sep 2026 07:04:06 -0700, SJ Park wrote:
> DAMON virtual address space operation set(vaddr) does not support
> hugetlb pages in apply_probes. Extend it for hugetlb pages.

This looks good to me. The new callback follows the existing vaddr
hugetlb walk, takes the huge PTE lock, and keeps a folio reference while
the probes inspect it.

Reviewed-by: Lian Wang <lianux.mm@xxxxxxxxx>

Thanks,
Lian