Re: [PATCH v2 2/4] drm/xe/vm: Implement userptr page pinning

2023-08-22 Thread Matthew Brost
On Tue, Aug 22, 2023 at 06:21:34PM +0200, Thomas Hellström wrote: > Implement pinning of userptrs between VM_BIND and VM_UNBIND, which will > facilitate avoiding long hangs on non-preemptible workloads. But don't > hook it up to userspace just yet. > > v2: > - Avoid marking userptr VMAs as invalid

[PATCH v2 2/4] drm/xe/vm: Implement userptr page pinning

2023-08-22 Thread Thomas Hellström
Implement pinning of userptrs between VM_BIND and VM_UNBIND, which will facilitate avoiding long hangs on non-preemptible workloads. But don't hook it up to userspace just yet. v2: - Avoid marking userptr VMAs as invalid in the mmu invalidation notifier. (Matthew Brost) - Add an WARN that we don