[PATCH] drm/ttm: Make NO_EVICT bos available to shrinkers pending destruction

2013-10-29 Thread Jakob Bornecrantz
On Thu, Oct 10, 2013 at 8:22 PM, Thomas Hellstrom wrote: > 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

[PATCH] drm/ttm: Make NO_EVICT bos available to shrinkers pending destruction

2013-10-10 Thread Thomas Hellstrom
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