This code convert virtual address(allocated in different numa node) to physical address by reading /proc/self/pagemap in user space.(Need root permission)
After Linux 4.2, only information in bit55-63 can be read.
Strange that though the permission of /proc/self/pagemap is always 400(r--------), a user without root permission can still read part of information(bit55-63).