aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2019-03-18 09:51:46 +0000
committerChris Wilson <[email protected]>2019-03-18 21:00:28 +0000
commit65baf0ef046b0297a1214932d48a6b71d3d79b4c (patch)
tree5366b74868567ae514cc57d732254481dbaba83c /tools/perf/scripts/python/syscall-counts.py
parent54939ea0bd85e128bdd5bca579508dd4701c5ce9 (diff)
drm/i915: Hold a ref to the ring while retiring
As the final request on a ring may hold the reference to this ring (via retiring the last pinned context), we may find ourselves chasing a dangling pointer on completion of the list. A quick solution is to hold a reference to the ring itself as we retire along it so that we only free it after we stop dereferencing it. Signed-off-by: Chris Wilson <[email protected]> Reviewed-by: Tvrtko Ursulin <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions