Re: [PATCH] drm/amdkfd: Flush the process wq before creating a kfd_process

2024-04-26 Thread Felix Kuehling
On 2024-04-26 14:55, Lancelot SIX wrote: There is a race condition when re-creating a kfd_process for a process. This has been observed when a process under the debugger executes exec(3). In this scenario: - The process executes exec. - This will eventually release the process's mm, which

[PATCH] drm/amdkfd: Flush the process wq before creating a kfd_process

2024-04-26 Thread Lancelot SIX
There is a race condition when re-creating a kfd_process for a process. This has been observed when a process under the debugger executes exec(3). In this scenario: - The process executes exec. - This will eventually release the process's mm, which will cause the kfd_process object associated