summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorThomas Hellstrom <thellstrom@vmware.com>2009-12-02 18:33:46 +0100
committerDave Airlie <airlied@redhat.com>2009-12-16 15:34:40 +1000
commit9c51ba1db37cab780f38b2210913959f22d7b830 (patch)
tree78136ca9c2fc00cd0550703fe07ae7ada55c11b9 /security
parentaaa207369436d04bb85382ddbb688a5b9461fd21 (diff)
downloadlinux-9c51ba1db37cab780f38b2210913959f22d7b830.tar.gz
linux-9c51ba1db37cab780f38b2210913959f22d7b830.tar.bz2
linux-9c51ba1db37cab780f38b2210913959f22d7b830.zip
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 <thellstrom@vmware.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions