On Fri 17-01-20 23:46:03, Li Xinhai wrote: [...] > >> by call mbind then check the > >> numa_maps, instead of just call mbind. So, I'd like option #3 is there. That is > >> a simple change, and I am glad to add this function if no objection. > > > >Any reason you cannot use move_pages syscall? > > I use it, that is the 'take action later' mentioned above, I'd like to > know if there are misplace pages before call it if mbind can help > to give answer. I am sorry but I do not follow? Why do you need to do two steps? Why don't you simply call move_pages right away? -- Michal Hocko SUSE Labs