git: kernel - VM rework part 17 - Cleanup

Matthew Dillon dillon at crater.dragonflybsd.org
Tue May 21 10:26:28 PDT 2019


commit 0600465e91caca6ea2b1bc221bf11c65fba8fefd
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Mon May 20 17:35:57 2019 -0700

    kernel - VM rework part 17 - Cleanup
    
    * Adjust kmapinfo and vmpageinfo in /usr/src/test/debug.
      Enhance the code to display more useful information.
    
    * Get pmap_page_stats_*() working again.
    
    * Change systat -vm's 'VM' reporting.  Replace VM-rss with PMAP and
      VMRSS.  Relabel VM-swp to SWAP and SWTOT.
    
      PMAP	- Amount of real memory faulted into user pmaps.
    
      VMRSS	- Sum of all process RSS's in thet system.  This is
    	  the 'virtual' memory faulted into user pmaps and
    	  includes shared pages.
    
      SWAP	- Amount of swap space currently in use.
    
      SWTOT	- Total amount of swap installed.
    
    * Redocument vm_page.h.
    
    * Remove dead code from pmap.c (some left over cruft from the
      days when pv_entry's were used for PTEs).

Summary of changes:
 sys/platform/pc64/include/pmap.h |   2 +-
 sys/platform/pc64/x86_64/pmap.c  |  98 ++++++---------
 sys/vm/vm_page.c                 |   2 +
 sys/vm/vm_page.h                 | 223 ++++++++++++++++++++++------------
 test/debug/kmapinfo.c            |  42 ++++++-
 test/debug/vmpageinfo.c          | 252 +++++++++++++++++++++++++++++++--------
 usr.bin/systat/vmstat.c          |  20 ++--
 7 files changed, 434 insertions(+), 205 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/0600465e91caca6ea2b1bc221bf11c65fba8fefd


-- 
DragonFly BSD source repository


More information about the Commits mailing list