diff options
| author | Matthew Auld <[email protected]> | 2023-08-08 10:12:09 +0100 |
|---|---|---|
| committer | Rodrigo Vivi <[email protected]> | 2023-12-21 11:40:19 -0500 |
| commit | ca8656a2eb0930b991151588fd04e60c75465543 (patch) | |
| tree | e6a9c1a43d4ab3a7053a923b65097adbad909121 /tools/perf/scripts/python/flamegraph.py | |
| parent | ef6ea97228e1a742be64a76991686b7e98592c02 (diff) | |
drm/xe: skip rebind_list if vma destroyed
If we are closing a vm, mark each vma as XE_VMA_DESTROYED and skip
touching the rebind_list if this is seen on the eviction path. That way
we can safely drop the vm dma-resv lock on the close path without
needing to worry about racing with the eviction path trying to add stuff
to the rebind_list which can corrupt our contended list, since the
destroy and rebind links are the same list entry underneath.
References: https://gitlab.freedesktop.org/drm/xe/kernel/-/issues/514
Signed-off-by: Matthew Auld <[email protected]>
Cc: Matthew Brost <[email protected]>
Reviewed-by: Rodrigo Vivi <[email protected]>
Signed-off-by: Rodrigo Vivi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions