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
Also in
linux-doc, linux-mm, lkml
Reply to
Nico Pache, 2025-12-01
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 [off-list ref]

Best Regards,
Yan, Zi
Thread (42 messages) 42 messages, 6 authors, last reply 2026-01-14
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