> > In the context of userspace inaccessible memfd, what would be a > suggested way to enforce NUMA memory policy for physical memory > allocation? mbind[1] won't work here in absence of virtual address > range. How about set_mempolicy(): https://www.man7.org/linux/man-pages/man2/set_mempolicy.2.html Chao > > [1] https://github.com/chao-p/qemu/blob/privmem-v8/backends/hostmem.c#L382