aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace
diff options
context:
space:
mode:
authorXiaogang Chen <[email protected]>2022-10-28 19:13:31 -0500
committerAlex Deucher <[email protected]>2022-11-04 16:05:54 -0400
commitfcf00f8d29f2fc6bf00531a1447be28b99073cc3 (patch)
tree4856ef26756c167b9cc094882576dd832d68c420 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace
parent79b72db63392d35a4dbcd4743b95cb668691f790 (diff)
drm/amdkfd: Remove skiping userptr buffer mapping when mmu notifier marks it as invalid
mmu notifier does not always hold mm->sem during call back. That causes a race condition between kfd userprt buffer mapping and mmu notifier which leds to gpu shadder or SDMA access userptr buffer before it has been mapped to gpu VM. Always map userptr buffer to avoid that though it may make some userprt buffers mapped two times. Suggested-by: Felix Kuehling <[email protected]> Signed-off-by: Xiaogang Chen <[email protected]> Reviewed-by: Felix Kuehling <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace')
0 files changed, 0 insertions, 0 deletions