aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/nand/(public-mirror)
diff options
context:
space:
mode:
authorAlan Cox <alc@FreeBSD.org>2025-07-08 23:31:26 +0000
committerAlan Cox <alc@FreeBSD.org>2025-07-13 16:55:47 +0000
commit2cfd6342ac84c6915106fbe141795ca23a96cbba (patch)
tree9cee3213568a7a51a160f1cfd5ce75bfa1098791 /sys/dev/nand/(public-mirror)
parent10d336114d488193d06bffa1755bf61f2a027a8f (diff)
arm64 pmap: do not panic when unable to insert PTP into trieHEADmain
When pmap_enter_l2() needs to destroy an existing kernel superpage mapping, do not remove the saved page table page (PTP) from the pm_root trie and remap it into the page table. Instead, simply zero it. Then, later the PTP does not need to be unmapped and reinserted into the trie. If the kernel region is not mapped by a superpage, then try to insert the PTP into the pm_root trie before clearing the PTEs. If the PTP insertion fails, then we can return failure with the old mappings still in place. Convert an assertion from a panic to a KASSERT. Reviewed by: kib, markj (an earlier version) MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D51220
Diffstat (limited to 'sys/dev/nand/(public-mirror)')
0 files changed, 0 insertions, 0 deletions