Files
linux/drivers/gpu
David Belanger b969838c95 drm/amdkfd: Fixed kfd_process cleanup on module exit.
[ Upstream commit 20bc9f76b6 ]

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.

v3: Fixed loop element access / synchronization.  Fixed extra empty lines.

Signed-off-by: David Belanger <david.belanger@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-04-06 12:10:40 +02:00
..
2022-03-09 18:30:46 -06:00
2022-06-01 11:50:42 +02:00