aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
diff options
context:
space:
mode:
authorMathieu Desnoyers <[email protected]>2022-12-14 22:20:08 +0000
committerPeter Zijlstra <[email protected]>2022-12-27 11:52:02 +0000
commit94cd8fa09f5f1ebdd4e90964b08b7f2cc4b36c43 (patch)
tree32a343b8c47df565e4af74fbf04236053a150f51 /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
parentrtmutex: Add acquire semantics for rtmutex lock acquisition slow path (diff)
downloadkernel-94cd8fa09f5f1ebdd4e90964b08b7f2cc4b36c43.tar.gz
kernel-94cd8fa09f5f1ebdd4e90964b08b7f2cc4b36c43.zip
futex: Fix futex_waitv() hrtimer debug object leak on kcalloc error
In a scenario where kcalloc() fails to allocate memory, the futex_waitv system call immediately returns -ENOMEM without invoking destroy_hrtimer_on_stack(). When CONFIG_DEBUG_OBJECTS_TIMERS=y, this results in leaking a timer debug object. Fixes: bf69bad38cf6 ("futex: Implement sys_futex_waitv()") Signed-off-by: Mathieu Desnoyers <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Reviewed-by: Davidlohr Bueso <[email protected]> Cc: [email protected] Cc: [email protected] # v5.16+ Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions