git: kernel - Rename vm_map_wire() and vm_map_unwire()

Matthew Dillon dillon at crater.dragonflybsd.org
Thu Jul 22 21:45:35 PDT 2021


commit 949c56f897edb38974c17c72109bd7383472b36c
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Thu Jul 22 21:44:00 2021 -0700

    kernel - Rename vm_map_wire() and vm_map_unwire()
    
    * These names are mutant throwbacks to an earlier age and no
      longer mean what is implied.
    
    * Rename vm_map_wire() to vm_map_kernel_wiring().  This function can
      wire and unwire VM ranges in a vm_map under kernel control.  Userland
      has no say.
    
    * Rename vm_map_unwire() to vm_map_user_wiring().  This function can
      wire and unwire VM ranges in a vm_map under user control.  Userland
      can adjust the user wiring state for pages.

Summary of changes:
 sys/dev/virtual/nvmm/nvmm_dragonfly.c |  4 ++--
 sys/kern/link_elf_obj.c               |  5 +++--
 sys/kern/sys_process.c                |  6 ++++--
 sys/vm/vm_glue.c                      | 17 ++++++++++-------
 sys/vm/vm_kern.c                      | 20 ++++++++++++--------
 sys/vm/vm_map.c                       | 19 ++++++++++---------
 sys/vm/vm_map.h                       |  4 ++--
 sys/vm/vm_mmap.c                      | 12 ++++++++----
 sys/vm/vm_unix.c                      |  8 ++++++--
 9 files changed, 57 insertions(+), 38 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/949c56f897edb38974c17c72109bd7383472b36c


-- 
DragonFly BSD source repository


More information about the Commits mailing list