aboutsummaryrefslogtreecommitdiff
path: root/lib/clang/headers
diff options
context:
space:
mode:
authorAlan Cox <alc@FreeBSD.org>2019-06-12 20:38:49 +0000
committerAlan Cox <alc@FreeBSD.org>2019-06-12 20:38:49 +0000
commita04cd5cdee7b180d5ce0fd87b2ec320fa385f540 (patch)
treef2442810dde939edaf4fa68dd24183f392c01c20 /lib/clang/headers
parent4b3f792718c8348a57058f6bc3b0c61a1ef9d358 (diff)
downloadsrc-a04cd5cdee7b180d5ce0fd87b2ec320fa385f540.tar.gz
src-a04cd5cdee7b180d5ce0fd87b2ec320fa385f540.zip
Change pmap_demote_l2_locked() so that it removes the superpage mapping on a
demotion failure. Otherwise, some callers to pmap_demote_l2_locked(), such as pmap_protect(), may leave an incorrect mapping in place on a demotion failure. Change pmap_demote_l2_locked() so that it handles addresses that are not superpage aligned. Some callers to pmap_demote_l2_locked(), such as pmap_protect(), may not pass a superpage aligned address. Change pmap_enter_l2() so that it correctly calls vm_page_free_pages_toq(). The arm64 pmap is updating the count of wired pages when freeing page table pages, so pmap_enter_l2() should pass false to vm_page_free_pages_toq(). Optimize TLB invalidation in pmap_remove_l2(). Reviewed by: kib, markj (an earlier version) Discussed with: andrew MFC after: 3 weeks Differential Revision: https://reviews.freebsd.org/D20585
Notes
Notes: svn path=/head/; revision=349003
Diffstat (limited to 'lib/clang/headers')
0 files changed, 0 insertions, 0 deletions