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

Jason Gunthorpe jgg at ziepe.ca
Tue Feb 9 13:44:38 UTC 2021


On Tue, Feb 09, 2021 at 02:39:51PM +0100, Daniel Vetter wrote:

> Either way ZONE_DEVICE for not vram/device memory sounds wrong. Is
> that really going on here?

My read was this was doing non-coherent atomics on CPU memory.

Atomics on GPU memory is just called migration to GPU memory, it
doesn't need to be special for atomics. In that case it can free the
CPU struct page completely as the data now lives in the ZONE_DEVICE
page so no need for a pin, no problem with movable

Jason


More information about the Nouveau mailing list