git: kernel - Increase x86_64 & vkernel kvm, adjust vm_page_array mapping

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Sep 15 13:25:45 PDT 2010


commit ad54aa11a40ac066e6f92ea71328f14b0656e6aa
Author: Matthew Dillon <dillon at 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





More information about the Commits mailing list