On Mon, Feb 17, 2025, Vlastimil Babka wrote: > On 2/10/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. > > > > Signed-off-by: Shivank Garg <shivankg@xxxxxxx> > > I think we should use EXPORT_SYMBOL_GPL() these days. > > Wasn't there also some way to limit the exports to KVM? The infrastructure is still a WIP[1], though when that lands, I definitely plan on tightening down the KVM-induced exports[2]. [1] https://lore.kernel.org/all/20241202145946.108093528@xxxxxxxxxxxxx [2] https://lore.kernel.org/all/ZzJOoFFPjrzYzKir@xxxxxxxxxx