git: kernel - vm_object work

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Jan 2 17:54:46 PST 2017


commit fde6be6aca462233be7953eff2c8d39b9d659a70
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Mon Jan 2 17:49:36 2017 -0800

    kernel - vm_object work
    
    * Adjust OBJT_SWAP object management to be more SMP friendly.  The hash
      table now uses a combined structure to reduce unnecessary cache
      interactions.
    
    * Allocate VM objects via kmalloc() instead of zalloc.  Remove the zalloc
      pool for VM objects and use kmalloc().  Early initialization of the kernel
      does not have to access vm_object allocation functions until after basic
      VM initialization.
    
    * Remove a vm_page_cache console warning that is no longer applicable.
      (It could be triggered by the RSS rlimit handling code).

Summary of changes:
 sys/vm/swap_pager.c   | 16 +++++----
 sys/vm/vm_object.c    | 91 +++++++++++++++++++++++----------------------------
 sys/vm/vm_object.h    |  9 +++--
 sys/vm/vm_page.c      |  4 ++-
 sys/vm/vm_swapcache.c | 58 ++++++++++++++++----------------
 5 files changed, 88 insertions(+), 90 deletions(-)

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


-- 
DragonFly BSD source repository



More information about the Commits mailing list