[PATCH 1/2] mm/hmm: support automatic NUMA balancing

Kuehling, Felix Felix.Kuehling at amd.com
Tue May 14 21:14:42 UTC 2019


On 2019-05-13 5:27 p.m., Andrew Morton wrote:
> [CAUTION: External Email]
>
> On Fri, 10 May 2019 19:53:23 +0000 "Kuehling, Felix" <Felix.Kuehling at amd.com> wrote:
>
>> From: Philip Yang <Philip.Yang at amd.com>
>>
>> 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 at amd.com>
> 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?
>
Yes. Thanks!




More information about the amd-gfx mailing list