Changeset View
Changeset View
Standalone View
Standalone View
dev/drm2/ttm/ttm_page_alloc.c
Context not available. | |||||
PAGE_SIZE, 0, memattr); | PAGE_SIZE, 0, memattr); | ||||
if (p != NULL || tries > 2) | if (p != NULL || tries > 2) | ||||
return (p); | return (p); | ||||
if (!vm_page_reclaim_contig(req, 1, 0, 0xffffffff, | |||||
/* | PAGE_SIZE, 0)) | ||||
* Before growing the cache see if this is just a normal | VM_WAIT; | ||||
* memory shortage. | |||||
*/ | |||||
VM_WAIT; | |||||
vm_pageout_grow_cache(tries, 0, 0xffffffff); | |||||
} | } | ||||
} | } | ||||
Context not available. |