diff options
author | kib <kib@FreeBSD.org> | 2014-07-15 19:57:03 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2014-07-15 19:57:03 +0000 |
commit | 24a1fa13b7b6394fc3fb820d63cf886f99713c73 (patch) | |
tree | 32b516152e2e8ccd469be90e4f34d3cf7299f0c1 /sys/cddl | |
parent | f65dceba26ab8fb2a7de316b15162cee30ddc435 (diff) | |
download | FreeBSD-src-24a1fa13b7b6394fc3fb820d63cf886f99713c73.zip FreeBSD-src-24a1fa13b7b6394fc3fb820d63cf886f99713c73.tar.gz |
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.
Suggested and reviewed by: alc
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Diffstat (limited to 'sys/cddl')
0 files changed, 0 insertions, 0 deletions