[Intel-xe] [PATCH] drm/xe: Decrement fault mode counts in xe_vm_close_and_put

Lucas De Marchi lucas.demarchi at intel.com
Fri Mar 17 15:45:03 UTC 2023


On Thu, Mar 16, 2023 at 11:22:13PM -0700, Matthew Brost wrote:
>Rather waiting for the VM to be destroyed (all refs to VM go to zero),
>drop the fault mode counts when the VM is closed in xe_vm_close_and_put.
>This avoids a window where user space can create a faulting VM, close
>it, and a subsequent creation of a non-faulting VM fails.
>
>VLK-45296

you have garbage leftover here. Please open an issue in gitlab to be
able to reference it.

Lucas De Marchi


More information about the Intel-xe mailing list