diff options
author | Philip Yang <Philip.Yang@amd.com> | 2022-05-26 23:15:38 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-06-01 23:04:41 +0300 |
commit | fa582c6f3684ac0098a9d02ddf0ed52a02b37127 (patch) | |
tree | f4c75c6396090581ab03b2af4df26baf920f0f36 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 2a460963350ec6b1534d28d7f943b5f84815aff2 (diff) | |
download | linux-fa582c6f3684ac0098a9d02ddf0ed52a02b37127.tar.xz |
drm/amdkfd: Use mmget_not_zero in MMU notifier
MMU notifier callback may pass in mm with mm->mm_users==0 when process
is exiting, use mmget_no_zero to avoid accessing invalid mm in deferred
list work after mm is gone.
Signed-off-by: Philip Yang <Philip.Yang@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions