diff options
author | Felix Kuehling <[email protected]> | 2018-10-02 18:41:12 -0400 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2018-10-04 11:37:25 -0400 |
commit | 11b29c9e25788d0afb2ddb67bcd89424bd25f2f7 (patch) | |
tree | 12b50c02a89f402ac4f77a9fbd20c32056a56d0c /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 987bf116445db5d63a5c2ed94c4479687d9c9973 (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.
Reviewed-by: Oded Gabbay <[email protected]>
Acked-by: Christian König <[email protected]>
Signed-off-by: Felix Kuehling <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions