[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2906f445-babb-5f4e-2d99-dc004ae1face@nvidia.com>
Date: Wed, 10 Feb 2021 18:26:15 -0800
From: John Hubbard <jhubbard@...dia.com>
To: Alistair Popple <apopple@...dia.com>,
Linux MM <linux-mm@...ck.org>,
Nouveau Dev <nouveau@...ts.freedesktop.org>,
Ben Skeggs <bskeggs@...hat.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Linux Doc Mailing List <linux-doc@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
<kvm-ppc@...r.kernel.org>,
dri-devel <dri-devel@...ts.freedesktop.org>,
Ralph Campbell <rcampbell@...dia.com>,
Jerome Glisse <jglisse@...hat.com>,
Jason Gunthorpe <jgg@...pe.ca>
Subject: Re: [PATCH 0/9] Add support for SVM atomics in Nouveau
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
Powered by blists - more mailing lists