# Re: \[PATCH v13 mm-new 03/16\] khugepaged: generalize hugepage\_vma\_revalidate for mTHP support

- From: Zi Yan \<ziy@nvidia.com\>
- Date: 2025-12-03 03:03:50 
- List: linux-trace-kernel
- Page: https://ratatoskr.run/linux-trace-kernel/2025/12/3321514
- Thread: https://ratatoskr.run/linux-trace-kernel/2025/12/3319316/t.md

```text
On 1 Dec 2025, at 12:46, Nico Pache wrote:

> For khugepaged to support different mTHP orders, we must generalize this
> to check if the PMD is not shared by another VMA and that the order is
> enabled.
>
> No functional change in this patch. Also correct a comment about the
> functionality of the revalidation.
>
> Reviewed-by: Wei Yang <redacted>
> Reviewed-by: Lance Yang <lance.yang@linux.dev>
> Reviewed-by: Baolin Wang <baolin.wang@linux.alibaba.com>
> Reviewed-by: Lorenzo Stoakes <redacted>
> Acked-by: David Hildenbrand <redacted>
> Co-developed-by: Dev Jain <dev.jain@arm.com>
> Signed-off-by: Dev Jain <dev.jain@arm.com>
> Signed-off-by: Nico Pache <redacted>
> ---
>  mm/khugepaged.c | 20 +++++++++++---------
>  1 file changed, 11 insertions(+), 9 deletions(-)
>
LGTM. Reviewed-by: Zi Yan [ref]

Best Regards,
Yan, Zi
```
