Thread (51 messages) 51 messages, 6 authors, 2025-07-25

Re: [PATCH v9 03/14] khugepaged: generalize hugepage_vma_revalidate for mTHP support

From: David Hildenbrand <hidden>
Date: 2025-07-15 15:55:40
Also in: linux-doc, linux-mm, lkml

On 14.07.25 02:31, 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 the order is enabled.

To ensure madvise_collapse can support working on mTHP orders without the
PMD order enabled, we need to convert hugepage_vma_revalidate to take a
bitmap of orders.

No functional change in this patch.

Reviewed-by: Baolin Wang <baolin.wang@linux.alibaba.com>
Co-developed-by: Dev Jain <dev.jain@arm.com>
Signed-off-by: Dev Jain <dev.jain@arm.com>
Signed-off-by: Nico Pache <npache@redhat.com>
---
Acked-by: David Hildenbrand <redacted>

-- 
Cheers,

David / dhildenb
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help