git: vkernel - Fix vmspace_*() call bottleneck

Matthew Dillon dillon at crater.dragonflybsd.org
Sun Jan 22 13:48:38 PST 2017


commit d95d5e03dc91bae5e1f8dc1034eed0c063b5c70b
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sun Jan 22 13:47:05 2017 -0800

    vkernel - Fix vmspace_*() call bottleneck
    
    * Remove a global token in most cases by caching ve's, and hold it shared
      for lookups if it cannot be found in the cache.

Summary of changes:
 sys/platform/pc64/x86_64/pmap.c        |   2 +
 sys/platform/vkernel64/platform/pmap.c |   3 +-
 sys/sys/vkernel.h                      |   4 +
 sys/vm/vm_vmspace.c                    | 162 +++++++++++++++++++--------------
 4 files changed, 101 insertions(+), 70 deletions(-)

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


-- 
DragonFly BSD source repository



More information about the Commits mailing list