Re: [PATCH] mm/damon: align MMU notifier range when clearing PTE young bit

From: Aveline Noir

Date: Thu Oct 22 2026 - 10:43:30 EST


Hi Shubhang,

> Align the address before both the primary PTE operation and the
> MMU notifier call so that they cover the same page.

Looks good to me. Tested in an x86-64 KVM guest.

Reviewed-by: Aveline Noir <jm5905938@xxxxxxxxx>
Tested-by: Aveline Noir <jm5905938@xxxxxxxxx>

The PMD path has the same issue. I will send a patch for that.

Thanks,
Aveline Noir