Re: [PATCH 0/9] Add support for SVM atomics in Nouveau

From: John Hubbard
Date: Wed Feb 10 2021 - 21:28:57 EST


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