mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-03 17:36:40 +07:00
15205fbcbe
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> |
||
---|---|---|
.. | ||
Makefile | ||
ttm_agp_backend.c | ||
ttm_bo_manager.c | ||
ttm_bo_util.c | ||
ttm_bo_vm.c | ||
ttm_bo.c | ||
ttm_execbuf_util.c | ||
ttm_lock.c | ||
ttm_memory.c | ||
ttm_module.c | ||
ttm_object.c | ||
ttm_page_alloc_dma.c | ||
ttm_page_alloc.c | ||
ttm_tt.c |