aboutsummaryrefslogtreecommitdiff
path: root/lib/libmagic/(developers-only)
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2025-06-24 22:58:32 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2025-07-05 08:36:17 +0000
commit476d2d8f290f60cbbe6b546272a3485ef0316356 (patch)
treeaa979de23686ae2357ec1de6173ea327829b17ef /lib/libmagic/(developers-only)
parentee502c8531833d7a0d4bc4c72cc05227f4a3715a (diff)
amd64 pmap: do not panic on inability to insert ptp into trieHEADmain
When pmap_enter_pde() needs to destroy existing kernel superpage mapping, do not remove saved pt page from the pm_root trie. Then the pt page does not need to be re-inserted into the trie. If the kernel region is not mapped with the superpage, try to insert the pt page into pm_root trie before clearing ptes. If failed, we can return failure without a need to rewind. Suggested by: alc Reviewed by: alc, markj Tested by: pho Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D50970
Diffstat (limited to 'lib/libmagic/(developers-only)')
0 files changed, 0 insertions, 0 deletions