2f1653808a
This change re-organizes code a little bit to extract common pieces of ttm_alloc_new_pages() and ttm_get_pages() into dedicated functions. Also, for requests without address restrictions regular vm_page_alloc() is used. Lastly, when vm_page_alloc_contig() fails we call VM_WAIT before calling vm_pageout_grow_cache() to ensure that there is enough free pages at all. Reviewed by: kib MFC after: 15 days |
||
---|---|---|
.. | ||
ttm_agp_backend.c | ||
ttm_bo_api.h | ||
ttm_bo_driver.h | ||
ttm_bo_manager.c | ||
ttm_bo_util.c | ||
ttm_bo_vm.c | ||
ttm_bo.c | ||
ttm_execbuf_util.c | ||
ttm_execbuf_util.h | ||
ttm_lock.c | ||
ttm_lock.h | ||
ttm_memory.c | ||
ttm_memory.h | ||
ttm_module.h | ||
ttm_object.c | ||
ttm_object.h | ||
ttm_page_alloc_dma.c | ||
ttm_page_alloc.c | ||
ttm_page_alloc.h | ||
ttm_placement.h | ||
ttm_tt.c |