kernel - Add Proportional RSS (PRES)
authorMatthew Dillon <dillon@apollo.backplane.com>
Tue, 5 Oct 2010 02:16:57 +0000 (19:16 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Tue, 5 Oct 2010 02:16:57 +0000 (19:16 -0700)
commit50a55c462ce5cb80f5fd95443e465542f0610e1a
tree6d43c8b7b722639741ca40f4fbc535ffdf1f899f
parentdd5c35afefa265ea0a806b663c10cfa861f3d582
kernel - Add Proportional RSS (PRES)

* Track vm_object sharing and calculate proportional RSS in kinfo_proc

* Add PRES to the top(1) output

Submitted-by: Pratyush Kshirsagar <pratyush.kshirsagar@gmail.com>
sys/kern/kern_kinfo.c
sys/platform/pc32/i386/pmap.c
sys/platform/pc64/x86_64/pmap.c
sys/platform/vkernel/platform/pmap.c
sys/platform/vkernel64/platform/pmap.c
sys/sys/kinfo.h
sys/vm/vm_map.h
sys/vm/vm_object.c
sys/vm/vm_object.h
sys/vm/vm_page.c
usr.bin/top/m_dragonfly.c