Fix RSS display by calculating the correct value.
authorSimon Schubert <corecode@dragonflybsd.org>
Fri, 16 Feb 2007 02:15:25 +0000 (02:15 +0000)
committerSimon Schubert <corecode@dragonflybsd.org>
Fri, 16 Feb 2007 02:15:25 +0000 (02:15 +0000)
commit3989af65f79c2a528f1c661c7b7fb639d4cce79d
tree962c847361ba15f2633860278f5a3c0177e614f6
parent81a46a83ee9ebe9d8c321f1f8a516e92b05cde90
Fix RSS display by calculating the correct value.

For some reason vmspace->vm_rssize is always zero, so we have to
"calculate" the value via vmspace_resident_count(), which actually
accesses the vmspace's pmap resident count.

Reported-by: victor@
sys/kern/kern_kinfo.c