mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 12:54:27 +00:00
5ee5c40402
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 |
||
---|---|---|
.. | ||
acpica | ||
arm64 | ||
broadcom | ||
cavium | ||
conf | ||
coresight | ||
freescale/imx | ||
include | ||
intel | ||
iommu | ||
linux | ||
nvidia/tegra210 | ||
qoriq | ||
qualcomm | ||
rockchip | ||
vmm |