summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2014-09-03 22:23:37 +0400
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-09-04 11:56:07 +0400
commit4ad72b7fadd285f849439cdbc408f8b847cef704 (patch)
treeeabc1578fbc3ade244c77c19f90294991717b324 /tools/perf/scripts/python
parent8fe8a3feeb5aedd17f7b09e51b60b38a6ba7005f (diff)
downloadlinux-4ad72b7fadd285f849439cdbc408f8b847cef704.tar.xz
drm/i915: Fix unsafe vma iteration in i915_drop_caches
When unbinding, there is a possibility that we drop the active reference on the object, thereby freeing it. If that happens, we may destroy the vm link as well as the object and vma. So iterate carefully. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions