]> Git Repo - linux.git/commit
drm/amdkfd: Fix memory leak in create_process failure
authorFelix Kuehling <[email protected]>
Wed, 10 Apr 2024 19:52:10 +0000 (15:52 -0400)
committerAlex Deucher <[email protected]>
Wed, 17 Apr 2024 15:05:09 +0000 (11:05 -0400)
commit18921b205012568b45760753ad3146ddb9e2d4e2
tree903915665c689d5a4dff3c8ddfe599cecc0526ed
parentca7c4507ba87e9fc22e0ecfa819c3664b3e8287b
drm/amdkfd: Fix memory leak in create_process failure

Fix memory leak due to a leaked mmget reference on an error handling
code path that is triggered when attempting to create KFD processes
while a GPU reset is in progress.

Fixes: 0ab2d7532b05 ("drm/amdkfd: prepare per-process debug enable and disable")
CC: Xiaogang Chen <[email protected]>
Signed-off-by: Felix Kuehling <[email protected]>
Tested-by: Harish Kasiviswanthan <[email protected]>
Reviewed-by: Mukul Joshi <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Cc: [email protected]
drivers/gpu/drm/amd/amdkfd/kfd_process.c
This page took 0.054166 seconds and 4 git commands to generate.