On Fri, Sep 22, 2017 at 08:13:56PM +0000, Reza Arbab wrote:
The move_pages() syscall can be used to find the numa node where a page currently resides. This is not working for device public memory pages, which erroneously report -EFAULT (unmapped or zero page).
Argh. Please disregard this patch.My test setup has a chunk of system memory carved out as pretend device public memory, to experiment with. Of course the real thing has no numa node!
Apologies all, it's been a long day. -- Reza Arbab

