svn commit: r333528 - stable/11/sys/amd64/amd64
Konstantin Belousov
kib at FreeBSD.org
Sat May 12 11:40:36 UTC 2018
Author: kib
Date: Sat May 12 11:40:34 2018
New Revision: 333528
URL: https://svnweb.freebsd.org/changeset/base/333528
Log:
MFC r332504:
Set PG_G global mapping bit on the trampoline ptes.
Approved by: re (marius)
Modified:
stable/11/sys/amd64/amd64/pmap.c
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/sys/amd64/amd64/pmap.c
==============================================================================
--- stable/11/sys/amd64/amd64/pmap.c Sat May 12 11:18:14 2018 (r333527)
+++ stable/11/sys/amd64/amd64/pmap.c Sat May 12 11:40:34 2018 (r333528)
@@ -7968,7 +7968,7 @@ pmap_pti_add_kva_locked(vm_offset_t sva, vm_offset_t e
for (; sva < eva; sva += PAGE_SIZE) {
pte = pmap_pti_pte(sva, &unwire_pde);
pa = pmap_kextract(sva);
- ptev = pa | X86_PG_RW | X86_PG_V | X86_PG_A |
+ ptev = pa | X86_PG_RW | X86_PG_V | X86_PG_A | X86_PG_G |
(exec ? 0 : pg_nx) | pmap_cache_bits(kernel_pmap,
VM_MEMATTR_DEFAULT, FALSE);
if (*pte == 0) {
More information about the svn-src-stable
mailing list