aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stat-cpi.py
diff options
context:
space:
mode:
authorFelix Kuehling <[email protected]>2018-08-22 15:28:44 -0400
committerAlex Deucher <[email protected]>2018-10-09 17:06:19 -0500
commit1b19aa5aa8c9394850a5e769abd4df12b3bdd1b7 (patch)
treeccfa9840faeca5933b9294a73f64df70f7e719b8 /tools/perf/scripts/python/stat-cpi.py
parent158b594a96529d895df943a4764609438a01d687 (diff)
drm/amdkfd: Fix incorrect use of process->mm
This mm_struct pointer should never be dereferenced. If running in a user thread, just use current->mm. If running in a kernel worker use get_task_mm to get a safe reference to the mm_struct. Signed-off-by: Felix Kuehling <[email protected]> Reviewed-by: Oded Gabbay <[email protected]> Acked-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions