diff options
author | Ian Moffett <ian@osmora.org> | 2025-06-09 14:03:53 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-06-09 14:03:53 -0400 |
commit | 4fbb2a1db3959cd11291d960532ffeec28c33ab2 (patch) | |
tree | 02aeb96f376c4b85adb329921985381ca090e69c /usr.bin/kmsg | |
parent | 06a2ef92bd8e35dccad318f264c396623a1b6536 (diff) |
kernel/amd64: Add `alloc` to pmap_update_tbl()
Add an `alloc' paramater to pmap_update_tbl() to ensure that functions
like pmap_map() and pmap_unmap() have control over, whether or not to
allocate new page table entries. This is useful as unmapping memory does
not require new page table entries to be allocated and doing so anyways
may result in undefined behaviour such as hangs.
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'usr.bin/kmsg')
0 files changed, 0 insertions, 0 deletions