50a9ff6df4
The kernel is moved ahead to version 3.10.0-693.21.1.el7 To summarize: CVE-2017-5753 [bounds check bypass] aka 'Spectre Variant 1' This is fixed by load fences and is "baked in" and cannot be turned off. CVE-2017-5715 [branch target injection] aka 'Spectre Variant 2' This is fixed by a combination of retpolines and IBPB, or IBRS+IBPB if on skylake. This requires a microcode change in the processors. This feature, if on, has a significant performance impact. It is assumed on unless turned off via the "nospectre_v2" bootarg. CVE-2017-5754 [rogue data cache load] aka 'Meltdown' aka 'Variant 3' This is fixed by page table isolation using the Kaiser patches. This feature is assumed on unless turned off via the "nopti" bootarg. As of the commit date, we have changed the installer kickstarts to issue both "nopti nospectre_v2" bootargs to minimize realtime impacts by default. The customer will be able to optionally sacrifice performance for extra security at datafill time. Change-Id: Id7c99923f2ee2ee91f77c7bd9940e684eff8b476 Signed-off-by: Jim Somerville <Jim.Somerville@windriver.com>
30 lines
872 B
Diff
30 lines
872 B
Diff
From f4706beaf86081b0890ea616082913f8f51823ff Mon Sep 17 00:00:00 2001
|
|
Message-Id: <f4706beaf86081b0890ea616082913f8f51823ff.1522097754.git.Jim.Somerville@windriver.com>
|
|
From: Jim Somerville <Jim.Somerville@windriver.com>
|
|
Date: Thu, 15 Dec 2016 14:27:48 -0500
|
|
Subject: [PATCH 01/27] Fix compile issue when transparent hugepages are off
|
|
|
|
Signed-off-by: Jim Somerville <Jim.Somerville@windriver.com>
|
|
---
|
|
mm/swap.c | 2 ++
|
|
1 file changed, 2 insertions(+)
|
|
|
|
diff --git a/mm/swap.c b/mm/swap.c
|
|
index 83e2d7d..04a4453 100644
|
|
--- a/mm/swap.c
|
|
+++ b/mm/swap.c
|
|
@@ -980,8 +980,10 @@ void release_pages(struct page **pages, int nr, bool cold)
|
|
if (!put_page_testzero(page))
|
|
continue;
|
|
|
|
+#ifdef CONFIG_TRANSPARENT_HUGEPAGE
|
|
VM_BUG_ON_PAGE(check_mmu_gather &&
|
|
trans_huge_mmu_gather_count(page), page);
|
|
+#endif
|
|
|
|
if (PageLRU(page)) {
|
|
if (!was_thp)
|
|
--
|
|
1.8.3.1
|
|
|