Re: [PATCH 2/2] drm/amdkfd: err_pin_bo path leaks kfd_bo_list

2021-11-29 Thread Felix Kuehling
Am 2021-11-29 um 4:23 p.m. schrieb Philip Yang: > Refactor userptr and pin_bo path to make it less confusing, move > err_pin_bo label up to remove mem from process_info kfd_bo_list. > > Signed-off-by: Philip Yang The series is Reviewed-by: Felix Kuehling > --- > drivers/gpu/drm/amd/amdgpu/am

[PATCH 2/2] drm/amdkfd: err_pin_bo path leaks kfd_bo_list

2021-11-29 Thread Philip Yang
Refactor userptr and pin_bo path to make it less confusing, move err_pin_bo label up to remove mem from process_info kfd_bo_list. Signed-off-by: Philip Yang --- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c | 14 ++ 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/dri