diff options
author | Thomas Hellstrom <[email protected]> | 2009-12-02 18:33:46 +0100 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2009-12-16 15:34:40 +1000 |
commit | 9c51ba1db37cab780f38b2210913959f22d7b830 (patch) | |
tree | 78136ca9c2fc00cd0550703fe07ae7ada55c11b9 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
parent | aaa207369436d04bb85382ddbb688a5b9461fd21 (diff) |
drm/ttm: Fix potential ttm_mem_evict_first races.
1) The function was previously called with a potentially empty
LRU list which would have lead to an OOPS or servere corruption.
2) In rare cases, after reservation has succeeded, another process may
already have evicted it or even pinned it. We must revalidate the
buffer status after releasing the lru lock.
Signed-off-by: Thomas Hellstrom <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions