git: vkernel - Refactor pmap

Matthew Dillon dillon at crater.dragonflybsd.org
Thu Jan 26 11:39:13 PST 2017


commit c78d5661e5f0ac6bef57f14a0a6ff293bb7d2c82
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Wed Jan 25 18:31:48 2017 -0800

    vkernel - Refactor pmap
    
    * Refactor the pmap code.  Use vm_page locking to protect PTEs.
    
    * Change the accounting from using vm_page->hold_count to using
      vm_page->wire_count.
    
    * Replace unlocked pt/pd/pdp lookups with explicit page tests for non-kernel
      pmaps.

Summary of changes:
 sys/platform/vkernel64/include/pmap.h        |  10 +-
 sys/platform/vkernel64/platform/pmap.c       | 636 +++++++++------------------
 sys/platform/vkernel64/platform/pmap_inval.c |  13 +-
 sys/platform/vkernel64/x86_64/trap.c         |  46 --
 4 files changed, 223 insertions(+), 482 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/c78d5661e5f0ac6bef57f14a0a6ff293bb7d2c82


-- 
DragonFly BSD source repository



More information about the Commits mailing list