aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2016-08-04 07:52:28 +0100
committerChris Wilson <[email protected]>2016-08-04 08:09:19 +0100
commit4717ca9eec1bb88513fb5cbe62f44348d5bc946c (patch)
tree1463832dd62918a8be2c51fddd695ceb598b0828 /tools/perf/scripts/python
parentaa653a685d816648dd903f76c14a30d8baa23933 (diff)
drm/i915: Kill drop_pages()
The drop_pages() function is a dangerous trap in that it can release the passed in object pointer and so unless the caller is aware, it can easily trick us into using the stale object afterwards. Move it into its solitary callsite where we know it is safe. Signed-off-by: Chris Wilson <[email protected]> Reviewed-by: Tvrtko Ursulin <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions