Re: [RFC PATCH v4 2/3] mm/mempolicy: export memory policy symbols
From: David Hildenbrand <hidden>
Date: 2025-02-12 10:23:46
Also in:
kvm, linux-fsdevel, linux-mm, lkml
From: David Hildenbrand <hidden>
Date: 2025-02-12 10:23:46
Also in:
kvm, linux-fsdevel, linux-mm, lkml
On 10.02.25 07:32, Shivank Garg wrote:
Export memory policy related symbols needed by the KVM guest-memfd to implement NUMA policy support. These symbols are required to implement per-memory region NUMA policies for guest memory, allowing VMMs to control guest memory placement across NUMA nodes.
Probably worth mentioning something like "guest_memfd wants to implement support for NUMA policies just like shmem already does using the shared policy infrastructure. As guest_memfd currently resides in KVM module code, we have to export the relevant symbols. In the future, guest_memfd might be moved to core-mm, at which point the symbols no longer would have to be exported. When/if that happens is still unclear." Acked-by: David Hildenbrand <redacted> -- Cheers, David / dhildenb