git: kernel - Refactor vm_map structure 1/2

Matthew Dillon dillon at crater.dragonflybsd.org
Tue Mar 26 22:32:06 PDT 2019


commit 47ec0953d00a4e55498312418ed65d3aadc9cc8a
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Fri Mar 22 19:50:07 2019 -0700

    kernel - Refactor vm_map structure 1/2
    
    * Remove the embedded vm_map_entry 'header' from vm_map.
    
    * Remove the prev and next fields from vm_map_entry.
    
    * Refactor the code to iterate only via the RB tree.  This is not as
      optimal as the prev/next fields were, but we can improve the RB tree
      code later to recover the performance.

Summary of changes:
 sys/kern/imgact_elf.c           |   3 +-
 sys/platform/pc64/x86_64/pmap.c |  16 +-
 sys/vfs/procfs/procfs_map.c     |   3 +-
 sys/vm/vm_glue.c                |   2 +-
 sys/vm/vm_map.c                 | 467 ++++++++++++++++++++++------------------
 sys/vm/vm_map.h                 |  17 +-
 sys/vm/vm_mmap.c                |  21 +-
 sys/vm/vm_object.c              |  16 +-
 sys/vm/vm_zone.c                |   2 +-
 9 files changed, 293 insertions(+), 254 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/47ec0953d00a4e55498312418ed65d3aadc9cc8a


-- 
DragonFly BSD source repository


More information about the Commits mailing list