[PATCH 0/9] Add support for SVM atomics in Nouveau
John Hubbard
jhubbard at nvidia.com
Thu Feb 11 02:26:15 UTC 2021
On 2/10/21 4:59 AM, Daniel Vetter wrote:
...
>> GPU atomic operations to sysmem are hard to categorize, because because application
>> programmers could easily write programs that do a long series of atomic operations.
>> Such a program would be a little weird, but it's hard to rule out.
>
> Yeah, but we can forcefully break this whenever we feel like by revoking
> the page, moving it, and then reinstating the gpu pte again and let it
> continue.
Oh yes, that's true.
>
> If that's no possible then what we need here instead is an mlock() type of
> thing I think.
No need for that, then.
thanks,
--
John Hubbard
NVIDIA
More information about the dri-devel
mailing list