aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/locale/btowc.c
diff options
context:
space:
mode:
authorAlan Cox <alc@FreeBSD.org>2024-06-07 05:23:59 +0000
committerAlan Cox <alc@FreeBSD.org>2024-06-08 07:26:55 +0000
commit5ee5c40402c92a498ed8d6eeb6cf0b5c1680817b (patch)
tree8653718e6b99549334915de632e91df4672c9b94 /lib/libc/locale/btowc.c
parent23f4131ad685debef98566351cb9f0e0a5903903 (diff)
downloadsrc-main.tar.gz
src-main.zip
arm64 pmap: Defer bti lookupHEADmain
Defer the bti lookup until after page table page allocation is complete. We sometimes release the pmap lock and sleep during page table page allocation. Consequently, the result of a bti lookup from before page table page allocation could be stale when we finally create the mapping based on it. Modify pmap_bti_same() to update the prototype PTE at the same time as checking the address range. This eliminates the need for calling pmap_pte_bti() in addition to pmap_bti_same(). pmap_bti_same() was already doing most of the work of pmap_pte_bti(). Reviewed by: markj Differential Revision: https://reviews.freebsd.org/D45502
Diffstat (limited to 'lib/libc/locale/btowc.c')
0 files changed, 0 insertions, 0 deletions