kernel - Increase x86_64 & vkernel kvm, adjust vm_page_array mapping
authorMatthew Dillon <dillon@apollo.backplane.com>
Wed, 15 Sep 2010 20:17:18 +0000 (13:17 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Wed, 15 Sep 2010 20:17:18 +0000 (13:17 -0700)
commitad54aa11a40ac066e6f92ea71328f14b0656e6aa
tree3626eddecd6f7561fa1b93cabddbd8b76ccab941
parent67bf99c4e3c62e257027c8f0d3b312f44cfe622f
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.
sys/platform/pc64/include/pmap.h
sys/platform/pc64/include/vmparam.h
sys/platform/pc64/x86_64/machdep.c
sys/platform/pc64/x86_64/mp_machdep.c
sys/platform/pc64/x86_64/pmap.c
sys/platform/vkernel64/include/pmap.h
sys/platform/vkernel64/platform/pmap.c