git: kernel - VM rework part 18 - Cleanup

Matthew Dillon dillon at crater.dragonflybsd.org
Tue May 21 14:56:03 PDT 2019


commit df49ec1e8e3e6cf6347f36d778f14b9c9baaff2d
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Tue May 21 13:55:43 2019 -0700

    kernel - VM rework part 18 - Cleanup
    
    * Significantly reduce the zone limit for pvzone (for pmap
      pv_entry structures).  pv_entry's are no longer allocated
      on a per-page basis so the limit can be made much smaller.
    
      This also has the effect of reducing the per-cpu cache limit
      which ultimately stabilizes wired memory use for the zone.
    
    * Also reduce the generic pre-cpu cache limit for zones.
      This only really effects the pvzone.
    
    * Make pvzone, mapentzone, and swap_zone __read_mostly.
    
    * Enhance vmstat -z, report current structural use and actual
      total memory use.
    
    * Also cleanup the copyright statement for vm/vm_zone.c.  John Dyson's
      original copyright was slightly different than the BSD copyright and
      stipulated no changes, so separate out the DragonFly addendum.

Summary of changes:
 sys/config/LINT64               | 14 -----------
 sys/platform/pc64/conf/options  |  1 -
 sys/platform/pc64/x86_64/pmap.c | 42 ++++++++++++++++++++------------
 sys/vm/swap_pager.c             |  2 +-
 sys/vm/vm_map.c                 |  2 +-
 sys/vm/vm_zone.c                | 46 +++++++++++++++++++++++++++++++----
 usr.bin/vmstat/vmstat.c         | 54 +++++++++++++++++++++++++++--------------
 7 files changed, 105 insertions(+), 56 deletions(-)

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


-- 
DragonFly BSD source repository


More information about the Commits mailing list