Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Apr 2006 10:28:27 -0700 (PDT)
From:      kapil jain <kapiltj@yahoo.com>
To:        freebsd-questions@freebsd.org
Subject:   vm_object resident_page_count and vmspace.vm_pmap.pm_stats.resident_count
Message-ID:  <20060426172827.3291.qmail@web81115.mail.mud.yahoo.com>
In-Reply-To: <20060425223220.GA90792@owl.midgard.homeip.net>

next in thread | previous in thread | raw e-mail | index | archive | help

Hi,
 
 What is the different between the 2 values:
 vmspace.vm_pmap.pm_stats.resident_count and
 the sum of 
 vm_object resident_page_count 
 of all objecsts in that vmspace?
 
  I thought they might be the same, but looks like they are not. For eg. for 1 process I get from vmspace 168 pages, and 192 pages from objects sum. The resident size is taken from vmspace.
 Is it that one includes shared pages and the other doesn't?
 
 thanks
 kapil



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060426172827.3291.qmail>