summaryrefslogtreecommitdiffstats
path: root/lib/libc/string/wcsdup.c
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2011-12-05 18:29:25 +0000
committeralc <alc@FreeBSD.org>2011-12-05 18:29:25 +0000
commita8855af4c0d2c4374763f3e58b930b60da8a1fa4 (patch)
tree169ae815456d0b52e73adc8ac35eff5e095e269b /lib/libc/string/wcsdup.c
parentf47c7431dec003c1c26fce8811c39d1b1db72967 (diff)
downloadFreeBSD-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
OpenPOWER on IntegriCloud