freebsd-nq/sys/riscv
John Baldwin 6f888020df Set PTE_A and PTE_D for user mappings in pmap_enter().
This assumes that an access according to the prot in 'flags' triggered
a fault and is going to be retried after the fault returns, so the two
flags are set preemptively to avoid refaulting on the retry.

While here, only bother setting PTE_D for kernel mappings in pmap_enter
for writable mappings.

Reviewed by:	markj
Sponsored by:	DARPA
Differential Revision:	https://reviews.freebsd.org/D17782
2018-11-01 22:17:51 +00:00
..
conf Compile in VERBOSE_SYSINIT support by default, remain silent by default 2018-10-31 22:38:19 +00:00
include Consolidate identical ELF auxargs type defintions. 2018-10-22 22:24:32 +00:00
riscv Set PTE_A and PTE_D for user mappings in pmap_enter(). 2018-11-01 22:17:51 +00:00