Re: [RFC PATCH 15/39] KVM: guest_memfd: hugetlb: allocate and truncate from hugetlb

From: Ackerley Tng
Date: Mon Feb 10 2025 - 20:22:04 EST


Jun Miao <jun.miao@xxxxxxxxx> writes:

> Hi Ackerley,
> Due to actual customer requirements(such as ByteDance), I have added
> support for NUMA policy based on your foundation.
> Standing on the shoulders of giants, please correct me if there is
> anyting wrong.
>
> --- Thanks Jun.miao
>
> <snip>

Hi Jun,

Thank you for your email and sorry about the delayed reply, haven't had
a chance to look at NUMA support.

Shivank Garg just posted a series for NUMA mempolicy support [1], which
is dependent on mmap() and then mbind(). Does that work for your use
case, or must you have mempolicy set up at guest_memfd creation time?


Ackerley

[1] https://lore.kernel.org/all/20250210063227.41125-1-shivankg@xxxxxxx/T/