On Fri, 10 May 2019 19:53:23 +0000 "Kuehling, Felix" <Felix.Kuehling@xxxxxxx> wrote: > From: Philip Yang <Philip.Yang@xxxxxxx> > > While the page is migrating by NUMA balancing, HMM failed to detect this > condition and still return the old page. Application will use the new > page migrated, but driver pass the old page physical address to GPU, > this crash the application later. > > Use pte_protnone(pte) to return this condition and then hmm_vma_do_fault > will allocate new page. > > Signed-off-by: Philip Yang <Philip.Yang@xxxxxxx> This should have included your signed-off-by:, since you were on the patch delivery path. I'll make that change to my copy of the patch, OK?