kernel - VM rework part 17 - Cleanup
authorMatthew Dillon <dillon@apollo.backplane.com>
Tue, 21 May 2019 00:35:57 +0000 (17:35 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Tue, 21 May 2019 05:54:09 +0000 (22:54 -0700)
commit0600465e91caca6ea2b1bc221bf11c65fba8fefd
tree3625b2e9cd8ab920c64fb3ef11441ae674b1a518
parent78831f77f06ae028d9024642403b6f8055df8af3
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).
sys/platform/pc64/include/pmap.h
sys/platform/pc64/x86_64/pmap.c
sys/vm/vm_page.c
sys/vm/vm_page.h
test/debug/kmapinfo.c
test/debug/vmpageinfo.c
usr.bin/systat/vmstat.c