Re: [PATCH v2] drm/amdkfd: Fixed kfd_process cleanup on module exit.

2023-03-08 Thread Felix Kuehling
On 2023-03-08 17:03, David Belanger wrote: Handle case when module is unloaded (kfd_exit) before a process space (mm_struct) is released. v2: Fixed potential race conditions by removing all kfd_process from the process table first, then working on releasing the resources. Signed-off-by: David B

[PATCH v2] drm/amdkfd: Fixed kfd_process cleanup on module exit.

2023-03-08 Thread David Belanger
Handle case when module is unloaded (kfd_exit) before a process space (mm_struct) is released. v2: Fixed potential race conditions by removing all kfd_process from the process table first, then working on releasing the resources. Signed-off-by: David Belanger --- drivers/gpu/drm/amd/amdkfd/kfd_