aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/Context.c
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2014-02-25 14:23:28 +0000
committerDaniel Vetter <[email protected]>2014-03-05 21:30:23 +0100
commit64bf930379ac8097705db7d40602c2aa9ec0d2f4 (patch)
tree4c4e2159e9b24b0c65b17cacd5a1be6ecdbea340 /tools/perf/scripts/python/Perf-Trace-Util/Context.c
parent6fe7286530d9b9ce13421e3628bf564e896662a6 (diff)
drm/i915: Reset vma->mm_list after unbinding
In place of true activity counting, we walk the list of vma associated with an object managing each on the vm's active/inactive list everytime we call move-to-inactive. This depends upon the vma->mm_list being cleared after unbinding, or else we run into difficulty when tracking the object in multiple vm's - we see a use-after free and corruption of the mm_list. Signed-off-by: Chris Wilson <[email protected]> Cc: Ben Widawsky <[email protected]> Reviewed-by: Ben Widawsky <[email protected]> Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/Context.c')
0 files changed, 0 insertions, 0 deletions