diff options
author | avg <avg@FreeBSD.org> | 2015-06-15 13:43:23 +0000 |
---|---|---|
committer | avg <avg@FreeBSD.org> | 2015-06-15 13:43:23 +0000 |
commit | 1aac2948e9f56ddb45abd36052cead08320c2f80 (patch) | |
tree | 32a0089ae588b03a3694779c1a94733824c91ea0 /lib/libkiconv/Makefile | |
parent | 2a3ec90af9d2a29ddfcfb0f66265da87045c2530 (diff) | |
download | FreeBSD-src-1aac2948e9f56ddb45abd36052cead08320c2f80.zip FreeBSD-src-1aac2948e9f56ddb45abd36052cead08320c2f80.tar.gz |
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
Diffstat (limited to 'lib/libkiconv/Makefile')
0 files changed, 0 insertions, 0 deletions