summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMatthew Brost <matthew.brost@intel.com>2026-07-14 10:00:25 -0700
committerMatthew Brost <matthew.brost@intel.com>2026-07-21 00:27:33 -0700
commit847b371debf3c8c72384ab7b9a0c4123a74cc925 (patch)
tree23dee29a9560a388eb8c7326b780c11c3acecb5a /tools/perf/scripts/python
parent17e2030f37600994440f875dc410615d5c66ee6d (diff)
drm/gpusvm: Fix MM reference leak in drm_gpusvm_range_evict
If kvmalloc_array() fails in drm_gpusvm_range_evict(), the MM reference acquired earlier is not released, resulting in a reference leak. Fix this by dropping the MM reference on the kvmalloc_array() failure path. Fixes: 99624bdff867 ("drm/gpusvm: Add support for GPU Shared Virtual Memory") Cc: stable@vger.kernel.org Signed-off-by: Matthew Brost <matthew.brost@intel.com> Reviewed-by: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com> Link: https://patch.msgid.link/20260714170025.3487974-1-matthew.brost@intel.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions