aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2017-03-16 20:42:35 +0000
committerChris Wilson <[email protected]>2017-03-17 07:59:48 +0000
commit60367132a21449c2119f0bb27eef907bc95828af (patch)
treecf92a398b9393c9f96f14775be1ba50ab5bcbc15 /scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h
parenta533b4ba776c16bce53b9739c47409ed3cfe5776 (diff)
drm/i915: Avoid use-after-free of ctx in request tracepoints
trace_i915_gem_request_out may be used after the request is completed, and so the request may have been retired on another thread, invalidating the rq->ctx. Avoid dereferencing rq->ctx in the tracepoint by switching to the fence context id instead, updating all tracepoints to match. Signed-off-by: Chris Wilson <[email protected]> Cc: Tvrtko Ursulin <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/[email protected] Reviewed-by: Tvrtko Ursulin <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h')
0 files changed, 0 insertions, 0 deletions