git: kernel - Add vm.cache_vmspaces boot-time tunable

Matthew Dillon dillon at crater.dragonflybsd.org
Tue Mar 8 18:24:09 PST 2011


commit 521f81c79cb57003c483abe5964022bad01ae54c
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Tue Mar 8 18:19:56 2011 -0800

    kernel - Add vm.cache_vmspaces boot-time tunable
    
    * Add vm.cache_vmspaces boot-time tunable, defaulting to 32 objects.
      This controls how many free vmspace+pmap structures can be maintained
      in the objcache.
    
    * Change the sysref API a bit.  mag_capacity becomes nom_cache.
    
    Related-to: IRC conversion thesjg & vsrinivas

Summary of changes:
 sys/kern/kern_sysref.c     |    2 +-
 sys/kern/vfs_lock.c        |    2 +-
 sys/sys/sysref.h           |    2 +-
 sys/vfs/devfs/devfs_core.c |    2 +-
 sys/vm/vm_map.c            |    3 ++-
 5 files changed, 6 insertions(+), 5 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/521f81c79cb57003c483abe5964022bad01ae54c


-- 
DragonFly BSD source repository





More information about the Commits mailing list