diff options
author | alc <alc@FreeBSD.org> | 2011-12-05 18:29:25 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 2011-12-05 18:29:25 +0000 |
commit | a8855af4c0d2c4374763f3e58b930b60da8a1fa4 (patch) | |
tree | 169ae815456d0b52e73adc8ac35eff5e095e269b /lib/libc/string/wcsdup.c | |
parent | f47c7431dec003c1c26fce8811c39d1b1db72967 (diff) | |
download | FreeBSD-src-a8855af4c0d2c4374763f3e58b930b60da8a1fa4.zip FreeBSD-src-a8855af4c0d2c4374763f3e58b930b60da8a1fa4.tar.gz |
Introduce vm_reserv_alloc_contig() and teach vm_page_alloc_contig() how to
use superpage reservations. So, for the first time, kernel virtual memory
that is allocated by contigmalloc(), kmem_alloc_attr(), and
kmem_alloc_contig() can be promoted to superpages. In fact, even a series
of small contigmalloc() allocations may collectively result in a promoted
superpage.
Eliminate some duplication of code in vm_reserv_alloc_page().
Change the type of vm_reserv_reclaim_contig()'s first parameter in order
that it be consistent with other vm_*_contig() functions.
Tested by: marius (sparc64)
Diffstat (limited to 'lib/libc/string/wcsdup.c')
0 files changed, 0 insertions, 0 deletions