git: kernel - VM rework part 9 - Precursor work for terminal pv_entry removal

Matthew Dillon dillon at crater.dragonflybsd.org
Tue May 21 10:26:27 PDT 2019


commit 530e94fc9e8b4693c7e841a45371bdb6e76ee4cd
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Fri May 17 10:03:35 2019 -0700

    kernel - VM rework part 9 - Precursor work for terminal pv_entry removal
    
    * Cleanup the API a bit
    
    * Get rid of pmap_enter_quick()
    
    * Remove unused procedures.
    
    * Document that vm_page_protect() (and thus the related
      pmap_page_protect()) must be called with a hard-busied page.  This
      ensures that the operation does not race a new pmap_enter() of the page.

Summary of changes:
 sys/dev/drm/drm_vm.c                   |  2 +-
 sys/net/netmap/netmap_freebsd.c        |  3 +-
 sys/platform/pc64/x86_64/pmap.c        | 55 +++-----------------
 sys/platform/vkernel64/platform/pmap.c | 58 +++-------------------
 sys/vfs/tmpfs/tmpfs_vnops.c            |  4 +-
 sys/vm/pmap.h                          |  7 +--
 sys/vm/vm_map.c                        | 12 ++---
 sys/vm/vm_object.c                     | 91 ----------------------------------
 sys/vm/vm_object.h                     |  2 -
 sys/vm/vm_page.c                       |  4 +-
 sys/vm/vm_page.h                       |  4 +-
 sys/vm/vm_page2.h                      |  6 ++-
 12 files changed, 34 insertions(+), 214 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/530e94fc9e8b4693c7e841a45371bdb6e76ee4cd


-- 
DragonFly BSD source repository


More information about the Commits mailing list