diff options
author | Konstantin Belousov <kib@FreeBSD.org> | 2025-06-24 22:58:32 +0000 |
---|---|---|
committer | Konstantin Belousov <kib@FreeBSD.org> | 2025-07-05 08:36:17 +0000 |
commit | 476d2d8f290f60cbbe6b546272a3485ef0316356 (patch) | |
tree | aa979de23686ae2357ec1de6173ea327829b17ef /contrib/python/(developers-only) | |
parent | ee502c8531833d7a0d4bc4c72cc05227f4a3715a (diff) |
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 'contrib/python/(developers-only)')
0 files changed, 0 insertions, 0 deletions