]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Only lock pvh_global_lock read-only for pmap_page_wired_mappings(),
authorkib <kib@FreeBSD.org>
Fri, 6 Sep 2013 16:53:48 +0000 (16:53 +0000)
committerkib <kib@FreeBSD.org>
Fri, 6 Sep 2013 16:53:48 +0000 (16:53 +0000)
commit8439d9918f1413406e07465a2729a2ce07ee4fdd
tree3afc602e237a18e603d4750578ed1aaa197371ab
parentb10a9f2e78cd159562e826b3206200beaf4a5d5e
Only lock pvh_global_lock read-only for pmap_page_wired_mappings(),
pmap_is_modified() and pmap_is_referenced(), same as it was done for
pmap_ts_referenced().

Consolidate identical code for pmap_is_modified() and
pmap_is_referenced() into helper pmap_page_test_mappings().

Reviewed by: alc
Tested by: pho (previous version)
Sponsored by: The FreeBSD Foundation
sys/amd64/amd64/pmap.c