diff options
author | Thomas Hellstrom <thellstrom@vmware.com> | 2013-10-10 22:09:03 +0400 |
---|---|---|
committer | Thomas Hellstrom <thellstrom@vmware.com> | 2013-11-06 16:21:50 +0400 |
commit | 15205fbcbe5abf52d6b064c5e8d2f901518d14a2 (patch) | |
tree | 8432ebee8dce75c9d6fef84616a7f6c0af537418 /Documentation/early-userspace | |
parent | cbe12e74ee4e29b6cb4e63fa284e80b73ad57926 (diff) | |
download | linux-15205fbcbe5abf52d6b064c5e8d2f901518d14a2.tar.xz |
drm/ttm: Make NO_EVICT bos available to shrinkers pending destruction
NO_EVICT bos that are not idle when all references are dropped are put on
the delayed destroy list. However, since they are not on LRU lists, they
are not available to shrinkers at that point, and buffers on the delayed
destroy list are not checked very often for idle.
So when these buffers are put on the delayed destroy list, clear the
NO_EVICT flag and put them on the right LRU list. This way they are
immediately available for eviction or shrinkers and will not cause false
OOMS.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
Diffstat (limited to 'Documentation/early-userspace')
0 files changed, 0 insertions, 0 deletions