svn commit: r337792 - stable/11/sys/amd64/amd64
Konstantin Belousov
kib at FreeBSD.org
Tue Aug 14 17:48:29 UTC 2018
Author: kib
Date: Tue Aug 14 17:48:28 2018
New Revision: 337792
URL: https://svnweb.freebsd.org/changeset/base/337792
Log:
MFC r337774:
Reserve page at the physical address zero on amd64.
Approved by: so (insta-MFC)
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 Tue Aug 14 17:48:02 2018 (r337791)
+++ stable/11/sys/amd64/amd64/pmap.c Tue Aug 14 17:48:28 2018 (r337792)
@@ -1220,6 +1220,9 @@ pmap_init(void)
vm_size_t s;
int error, i, pv_npg, ret, skz63;
+ /* L1TF, reserve page @0 unconditionally */
+ vm_page_blacklist_add(0, bootverbose);
+
/* Detect bare-metal Skylake Server and Skylake-X. */
if (vm_guest == VM_GUEST_NO && cpu_vendor_id == CPU_VENDOR_INTEL &&
CPUID_TO_FAMILY(cpu_id) == 0x6 && CPUID_TO_MODEL(cpu_id) == 0x55) {
More information about the svn-src-all
mailing list