]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
riscv: Add a leaf PTP when pmap_enter(psind=1) creates a wired mapping
authorBojan Novković <bojan.novkovic@fer.hr>
Wed, 8 Nov 2023 10:20:06 +0000 (05:20 -0500)
committerMark Johnston <markj@FreeBSD.org>
Wed, 8 Nov 2023 12:19:15 +0000 (07:19 -0500)
commitd0941ed9b5c39d92d0aa75bc253506cb59a2e9a1
tree77bc553033158b8f9b55271c75543b80d1236596
parent7e5002e3d6038b69e23f6c1982caf20cd62139f7
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
sys/riscv/riscv/pmap.c