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
..
2018-10-25 22:16:34 +00:00
2018-10-22 18:29:12 +00:00
2018-10-20 20:45:49 +00:00
2018-08-23 13:21:01 +00:00
2018-10-20 22:39:35 +00:00
2018-07-15 00:31:17 +00:00
2018-10-23 21:43:41 +00:00
2018-10-25 22:16:34 +00:00
2018-10-30 22:40:40 +00:00