HomeFreeBSD

riscv: Add a leaf PTP when pmap_enter(psind=1) creates a wired mapping

Description

riscv: Add a leaf PTP when pmap_enter(psind=1) creates a wired mapping

Let pmap_enter_l2() create wired mappings. In particular, allocate a
leaf PTP for use during demotion. This is the last pmap which requires
such a change ahead of reverting commit 64087fd7f372.

Reviewed by: markj
Sponsored by: Google, Inc. (GSoC 2023)
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D41633

Details

Provenance
bnovkovAuthored on Nov 8 2023, 10:20 AM
markjCommitted on Nov 8 2023, 12:19 PM
Reviewer
markj
Differential Revision
D41633: riscv pmap: allocate leaf page table page for wired userspace superpages
Parents
rG7e5002e3d603: makefs/zfs: Add a regression test which checks file access permissions
Branches
Unknown
Tags
Unknown