aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorMaarten Lankhorst <[email protected]>2012-11-28 11:25:42 +0000
committerDave Airlie <[email protected]>2012-12-10 20:21:06 +1000
commit2b7b3ad2fb8f904ae9ba7ca71323bc11c0978d91 (patch)
treee5ae35e162bf9d2248362d34126488447a7e0ab3 /tools/perf/scripts/python/event_analyzing_sample.py
parent85b144f860176ec18db927d6d9ecdfb24d9c6483 (diff)
drm/ttm: cope with reserved buffers on swap list in ttm_bo_swapout, v2
Replace the while loop with a simple for each loop, and only run the delayed destroy cleanup if we can reserve the buffer first. No race occurs, since lru lock is never dropped any more. An empty list and a list full of unreservable buffers both cause -EBUSY to be returned, which is identical to the previous situation. Signed-off-by: Maarten Lankhorst <[email protected]> Reviewed-by: Thomas Hellstrom <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions