As soon as PeerDirect mapping is called then GPU must not "move" the
On 28/11/16 09:57 AM, Jason Gunthorpe wrote:
Yup, this was our experience when playing around with PeerDirect. ThereOn PeerDirect, we have some kind of a middle-ground solution for pinningThat sounds horrible. How can that possibly work? What if the MR is
GPU memory. We create a non-ODP MR pointing to VRAM but rely on
user-space and the GPU not to migrate it. If they do, the MR gets
destroyed immediately.
being used when the GPU decides to migrate? I would not support that
upstream without a lot more explanation..
was nothing we could do if the GPU decided to invalidate the P2P
mapping.