diff options
author | alc <alc@FreeBSD.org> | 2014-11-15 23:40:44 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 2014-11-15 23:40:44 +0000 |
commit | aeebd38e4bfe2d40d4c39fab6702b4140abbada4 (patch) | |
tree | 0f1c627f32faa09851b8a412dd9586dabb0109ad /contrib/netbsd-tests/lib/libpthread | |
parent | 07e17a18ac8e355a9f6b268acbe7b870e31f7fad (diff) | |
download | FreeBSD-src-aeebd38e4bfe2d40d4c39fab6702b4140abbada4.zip FreeBSD-src-aeebd38e4bfe2d40d4c39fab6702b4140abbada4.tar.gz |
Enable the use of VM_PHYSSEG_SPARSE on amd64 and i386, making it the default
on i386 PAE. Previously, VM_PHYSSEG_SPARSE could not be used on amd64 and
i386 because vm_page_startup() would not create vm_page structures for the
kernel page table pages allocated during pmap_bootstrap() but those vm_page
structures are needed when the kernel attempts to promote the corresponding
kernel virtual addresses to superpage mappings. To address this problem, a
new public function, vm_phys_add_seg(), is introduced and vm_phys_init() is
updated to reflect the creation of vm_phys_seg structures by calls to
vm_phys_add_seg().
Discussed with: Svatopluk Kraus
MFC after: 3 weeks
Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'contrib/netbsd-tests/lib/libpthread')
0 files changed, 0 insertions, 0 deletions