HomeFreeBSD

Set PTE_U on PTEs created by pmap_enter_quick().

Description

Set PTE_U on PTEs created by pmap_enter_quick().

Otherwise prefaulted entries are not accessible from user mode and
end up triggering a fault upon access, so prefaulting has no effect.

Reviewed by: jhb, kib
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D18718

Details

Provenance
markjAuthored on
Reviewer
jhb
Differential Revision
D18718: Set PTE_U in pmap_enter_quick_locked().
Parents
rS342732: Use regular stores to update PTEs in the riscv pmap layer.
Branches
Unknown
Tags
Unknown