aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2012-11-21 13:04:03 +0000
committerDaniel Vetter <[email protected]>2012-11-21 17:47:13 +0100
commit8742267af4043606869f5b8dadbef635405543c3 (patch)
tree07378203a3fb2e9822256f5b672619f89ef6c7b4 /tools/perf/scripts/python/event_analyzing_sample.py
parent776ca7cf5bcc6892ad5bd781279744a654a8ed23 (diff)
drm/i915: Defer assignment of obj->gtt_space until after all possible mallocs
As we may invoke the shrinker whilst trying to allocate memory to hold the gtt_space for this object, we need to be careful not to mark the drm_mm_node as activated (by assigning it to this object) before we have finished our sequence of allocations. Note: We also need to move the binding of the object into the actual pagetables down a bit. The best way seems to be to move it out into the callsites. Reported-by: Imre Deak <[email protected]> Signed-off-by: Chris Wilson <[email protected]> [danvet: Added small note to commit message to summarize review discussion.] Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions