freebsd-dev/sys/amd64
Mark Johnston 9bfc7fa41d Avoid setting PG_U unconditionally in pmap_enter_quick_locked().
This KPI may in principle be used to create kernel mappings, in which
case we certainly should not be setting PG_U.  In any case, PG_U must be
set on all layers in the page tables to grant user mode access, and we
were only setting it on leaf entries.  Thus, this change should have no
functional impact.

Reviewed by:	kib
MFC after:	1 week
Sponsored by:	The FreeBSD Foundation
2019-01-02 15:36:35 +00:00
..
acpica Rename assym.s to assym.inc 2018-03-20 17:58:51 +00:00
amd64 Avoid setting PG_U unconditionally in pmap_enter_quick_locked(). 2019-01-02 15:36:35 +00:00
cloudabi32
cloudabi64
conf Remove iBCS2, part2: general kernel 2018-12-19 21:57:58 +00:00
ia32 Remove iBCS2, part2: general kernel 2018-12-19 21:57:58 +00:00
include Add a custom implementation of cpu_lock_delay() for x86. 2018-11-05 22:54:03 +00:00
linux Remove iBCS2, part2: general kernel 2018-12-19 21:57:58 +00:00
linux32 Remove iBCS2, part2: general kernel 2018-12-19 21:57:58 +00:00
pci Do not flush cache for PCIe config window. 2018-10-18 20:49:16 +00:00
sgx Rename assym.s to assym.inc 2018-03-20 17:58:51 +00:00
vmm Align IA32_ARCH_CAP MSR definitions and use with SDM rev. 068. 2018-11-16 21:27:11 +00:00
Makefile