diff options
| author | Philip Yang <[email protected]> | 2019-03-04 14:10:12 -0500 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2019-05-24 12:21:02 -0500 |
| commit | 6c55d6e90e68a4789cbd72a0287026d4dfb4a9f9 (patch) | |
| tree | 88b6b7fe05fda43bda556e7d75db09517ccc1247 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | ad595b8634f36f04bf69bef4eff854091d94f8b3 (diff) | |
drm/amdkfd: support concurrent userptr update for HMM
Userptr restore may have concurrent userptr invalidation after
hmm_vma_fault adds the range to the hmm->ranges list, needs call
hmm_vma_range_done to remove the range from hmm->ranges list first,
then reschedule the restore worker. Otherwise hmm_vma_fault will add
same range to the list, this will cause loop in the list because
range->next point to range itself.
Add function untrack_invalid_user_pages to reduce code duplication.
Signed-off-by: Philip Yang <[email protected]>
Reviewed-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