On 30.11.23 18:46, Peter Xu wrote:
On Thu, Nov 30, 2023 at 05:54:26PM +0100, David Hildenbrand wrote:But likely we want THP support here. Because for hugetlb, one would actually have to instruct the kernel which size to use, like we do for memfd with hugetlb.I doubt it, as VM can still leverage larger sizes if possible?
What do you doubt? I am talking about the current implementation and expected semantics of KVM_GUEST_MEMFD_ALLOW_HUGEPAGE.
-- Cheers, David / dhildenb