aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorXiaogang Chen <[email protected]>2023-09-20 11:02:51 -0500
committerAlex Deucher <[email protected]>2023-09-26 17:00:02 -0400
commit7bfaa160caed8192f8262c4638f552cad94bcf5a (patch)
treeb11419d98ad8c54a5770aa286ca3c8b759399e4b /tools/perf/scripts/python/bin/stackcollapse-report
parent101b8104307eac734f2dfa4d3511430b0b631c73 (diff)
drm/amdkfd: fix some race conditions in vram buffer alloc/free of svm code
This patch fixes: 1: ref number of prange's svm_bo got decreased by an async call from hmm. When wait svm_bo of prange got released we shoul also wait prang->svm_bo become NULL, otherwise prange->svm_bo may be set to null after allocate new vram buffer. 2: During waiting svm_bo of prange got released in a while loop should reschedule current task to give other tasks oppotunity to run, specially the the workque task that handles svm_bo ref release, otherwise we may enter to softlock. 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/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions