diff options
| author | Jie Zhang <jie.zhang@oss.qualcomm.com> | 2026-06-05 01:38:22 +0530 |
|---|---|---|
| committer | Rob Clark <robin.clark@oss.qualcomm.com> | 2026-07-16 13:37:22 -0700 |
| commit | 40b793714ad8f393ab3d469f9d00b20ebda46257 (patch) | |
| tree | 6de867e10d55233fb9f777990a9a9ab80236c6ec /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | bc024d325e98b6b2806e00455e030622fb8e1820 (diff) | |
drm/msm: Fix task_struct reference leak in recover_worker
get_pid_task() increments the task reference count, but the
corresponding put_task_struct() was missing in the else branch,
leaking a reference on every GPU hang recovery.
Fixes: 25654a1756a4 ("drm/msm: Update global fault counter when faulty process has already ended")
Signed-off-by: Jie Zhang <jie.zhang@oss.qualcomm.com>
Signed-off-by: Akhil P Oommen <akhilpo@oss.qualcomm.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Patchwork: https://patchwork.freedesktop.org/patch/730662/
Message-ID: <20260605-assorted-fixes-june-v1-6-2caa04f7287c@oss.qualcomm.com>
Signed-off-by: Rob Clark <robin.clark@oss.qualcomm.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
