]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r268466:
authorkib <kib@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 24 Jul 2014 16:33:29 +0000 (16:33 +0000)
committerkib <kib@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 24 Jul 2014 16:33:29 +0000 (16:33 +0000)
commit9999f86987ffdf64cd1143cd1623f2210b3aa621
tree7ff5dea2ed671bba416ccce72340cdcc918babc2
parentb99792e6b91e25a499b50b940c45a8758f12d0a5
MFC r268466:
Calculate the amount of resident pages by looking in the objects chain
backing the region. Add a knob to disable the residency calculation at
all.

MFC r268490:
Unconditionally initialize addr to handle the case of changed map
timestamp while the map is unlocked.

MFC r268711:
Change the calculation of the kinfo_vmentry field kve_private_resident
to reflect its name.

MFC r268712:
Followup to r268466.
- Move the code to calculate resident count into separate function.
  It reduces the indent level and makes the operation of
  vmmap_skip_res_cnt tunable more clear.
- Optimize the calculation of the resident page count for map entry.
  Skip directly to the next lowest available index and page among the
  whole shadow chain.
- Restore the use of pmap_incore(9), only to verify that current
  mapping is indeed superpage.
- Note the issue with the invalid pages.

git-svn-id: svn://svn.freebsd.org/base/stable/10@269073 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/kern/kern_proc.c