git: kernel - Increase x86_64 & vkernel kvm, adjust vm_page_arra

看板DFBSD_commit作者時間15年前 (2010/09/16 04:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit ad54aa11a40ac066e6f92ea71328f14b0656e6aa Author: Matthew Dillon <dillon@apollo.backplane.com> Date: Wed Sep 15 13:17:18 2010 -0700 kernel - Increase x86_64 & vkernel kvm, adjust vm_page_array mapping * Change the vm_page_array and dmesg space to not use the DMAP area. The space could not be accessed by userland kvm utilities due to that issue. TODO - reoptimize to use 2M super-pages. * Auto-size NKPT to accomodate the above changes as vm_page_array[] is now mapped into the kernel page tables. * Increase NKPDPE to 128 PDPs to accomodate machines with large amounts of ram. This increases the kernel KVA space to 128G. Summary of changes: sys/platform/pc64/include/pmap.h | 7 +--- sys/platform/pc64/include/vmparam.h | 4 +- sys/platform/pc64/x86_64/machdep.c | 8 ---- sys/platform/pc64/x86_64/mp_machdep.c | 4 -- sys/platform/pc64/x86_64/pmap.c | 63 +++++++++++++++++++++----------- sys/platform/vkernel64/include/pmap.h | 13 ++++--- sys/platform/vkernel64/platform/pmap.c | 19 +++++++--- 7 files changed, 65 insertions(+), 53 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/ad54aa11a40ac066e6f92ea71328f14b0656e6aa -- DragonFly BSD source repository
文章代碼(AID): #1CaIr6bQ (DFBSD_commit)