]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Set PTE_U on PTEs created by pmap_enter_quick().
authorMark Johnston <markj@FreeBSD.org>
Thu, 3 Jan 2019 16:19:32 +0000 (16:19 +0000)
committerMark Johnston <markj@FreeBSD.org>
Thu, 3 Jan 2019 16:19:32 +0000 (16:19 +0000)
commit8ccaccd522ada730eda8f16931141120c61be07e
treed599279707af953673d6118928aefa53c8553239
parent619999ff9f7342602b65fadec80331bed6e007b2
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
sys/riscv/riscv/pmap.c