aboutsummaryrefslogtreecommitdiff
path: root/cddl/lib/Makefile.inc
diff options
context:
space:
mode:
authorAndriy Gapon <avg@FreeBSD.org>2015-06-15 13:43:23 +0000
committerAndriy Gapon <avg@FreeBSD.org>2015-06-15 13:43:23 +0000
commit2f1653808a72224693d36d82e415f2f7bbbed547 (patch)
tree32a0089ae588b03a3694779c1a94733824c91ea0 /cddl/lib/Makefile.inc
parent13500839f2f74f939590564263f2b02410ee8b39 (diff)
downloadsrc-2f1653808a72224693d36d82e415f2f7bbbed547.tar.gz
src-2f1653808a72224693d36d82e415f2f7bbbed547.zip
ttm_vm_page_alloc: use vm_page_alloc for pages without dma32 restriction
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
Notes
Notes: svn path=/head/; revision=284416
Diffstat (limited to 'cddl/lib/Makefile.inc')
0 files changed, 0 insertions, 0 deletions