diff options
| author | Thomas Hellström <[email protected]> | 2023-05-25 09:41:44 +0200 |
|---|---|---|
| committer | Rodrigo Vivi <[email protected]> | 2023-12-21 11:35:04 -0500 |
| commit | 5835dc7fa6e419627e23015c7dbde120a77ce738 (patch) | |
| tree | 144c5308795c01c64f40ee44edf4d72f1b6dd5c6 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | a201c6ee37d63e7c0a2973fb7790e94211b7fa83 (diff) | |
drm/xe: Fix vm refcount races
Fix a race in xe_vm_lookup() where the vm could disappear after
the lookup mutex unlock but before the get. The xe_vm_get() call
must be inside the lookup mutex.
Also fix a vm close race where multiple callers could potentially
succeed in calling xe_vm_close_and_put().
Reported-by: Oded Gabbay <[email protected]>
Link: https://lists.freedesktop.org/archives/intel-xe/2023-May/004704.html
Signed-off-by: Thomas Hellström <[email protected]>
Reviewed-by: Matthew Brost <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Signed-off-by: Rodrigo Vivi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions