aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorPhilip Yang <[email protected]>2020-04-08 11:09:45 -0400
committerAlex Deucher <[email protected]>2021-04-20 21:47:03 -0400
commit4683cfecadeb383b03019ad11aeea1efac38c1ba (patch)
tree4fb38215d884c2aaafac72df31e0ef500f51c431 /tools/perf/scripts/python/bin
parentb1c46c7d622bed62898579548a7e9a21e1320c9d (diff)
drm/amdkfd: deregister svm range
When application explicitly call unmap or unmap from mmput when application exit, driver will receive MMU_NOTIFY_UNMAP event to remove svm range from process svms object tree and list first, unmap from GPUs (in the following patch). Split the svm ranges to handle partial unmapping of svm ranges. To avoid deadlocks, updating MMU notifiers, range lists and interval trees is done in a deferred worker. New child ranges are attached to their parent range's child_list until the worker can update the svm_range_list. svm_range_set_attr flushes deferred work and takes the mmap_write_lock to guarantee that it has an up-to-date svm_range_list. Signed-off-by: Philip Yang <[email protected]> Signed-off-by: Alex Sierra <[email protected]> Reviewed-by: Felix Kuehling <[email protected]> Signed-off-by: Felix Kuehling <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions