git: kernel - Add shared active virtual memory, i386
Matthew Dillon
dillon at crater.dragonflybsd.org
Sun Oct 6 22:10:12 PDT 2013
commit 1d4e75152b62606d53829dce89faa452e13f977c
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Sun Oct 6 22:06:01 2013 -0700
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.
Summary of changes:
sys/platform/pc32/i386/pmap.c | 38 ++++++++++++++++++++++++++++++++++++++
sys/platform/pc32/include/pmap.h | 4 +++-
sys/platform/pc64/x86_64/pmap.c | 6 ++++++
3 files changed, 47 insertions(+), 1 deletion(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/1d4e75152b62606d53829dce89faa452e13f977c
--
DragonFly BSD source repository
More information about the Commits
mailing list