kernel - Add shared active virtual memory, i386
authorMatthew Dillon <dillon@apollo.backplane.com>
Mon, 7 Oct 2013 05:06:01 +0000 (22:06 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Mon, 7 Oct 2013 05:06:01 +0000 (22:06 -0700)
commit1d4e75152b62606d53829dce89faa452e13f977c
treef8d2f98e4c571a49f872ba5eea7203ecbbf729c7
parent2b32e5811065af444ef995b9acf881b384ec8a93
kernel - Add shared active virtual memory, i386

* Add shared active virtual memory.

  Shared active real memory represents the amount of memory shared across
  two or more pmap instances.  The memory is counted just once.

  Shared active virtual memory multiplies that value out by the number
  of pmap instances the memory is being shared across, giving the sysop
  some idea of the amount of ram being saved by e.g. shared libraries or
  shared mmap()s, etc.

* Collect statistics on 32-bit systems too.
sys/platform/pc32/i386/pmap.c
sys/platform/pc32/include/pmap.h
sys/platform/pc64/x86_64/pmap.c