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 with 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.
Details
Details
- Reviewers
kib
Diff Detail
Diff Detail
- Lint
Lint Passed - Unit
No Test Coverage