
Low-latency profile of StarlingX is affected by a deadlock in CFS scheduler. spin_lock is used in IRQ handler there instead of spin_lock_irqsave. This leads to an attempt to lock the same spinlock twice and inevitable system freeze. Backporting c0ad4aa4d8 commit from upstream kernel to cure the issue. Change-Id: I5416c0e0886f42d2bcec8e3e5da063e6af6916f8 Closes-bug: 1832854 Signed-off-by: Alex Kozyrev <alex.kozyrev@windriver.com>
40 lines
1.5 KiB
Diff
40 lines
1.5 KiB
Diff
From 6fe892d415b3d728d223069eacb6f291fc38d86d Mon Sep 17 00:00:00 2001
|
|
From: Alex Kozyrev <alex.kozyrev@windriver.com>
|
|
Date: Mon, 29 Jul 2019 11:48:51 -0400
|
|
Subject: [PATCH 1/1] Compile issues
|
|
|
|
Signed-off-by: Alex Kozyrev <alex.kozyrev@windriver.com>
|
|
---
|
|
SPECS/kernel-rt.spec | 8 ++++++++
|
|
1 file changed, 8 insertions(+)
|
|
|
|
diff --git a/SPECS/kernel-rt.spec b/SPECS/kernel-rt.spec
|
|
index 3b7985c..5025db7 100644
|
|
--- a/SPECS/kernel-rt.spec
|
|
+++ b/SPECS/kernel-rt.spec
|
|
@@ -418,6 +418,11 @@ # DRBD was choking on write same
|
|
Patch1028: turn-off-write-same-in-smartqpi-driver.patch
|
|
Patch1029: restrict-iSCSI-kthreads-to-CPUs-in-cpu_kthread_mask.patch
|
|
Patch1030: robustify-CFS-bandwidth-timer-locking.patch
|
|
+Patch1031: fix-compilation-issues.patch
|
|
+# Fix CentOS 7.6 upgrade compile error
|
|
+Patch1032: fix-CentOS-7.6-upgrade-compile-error.patch
|
|
+# Compile fix for disabling CONFIG_MEMCG_KMEM
|
|
+Patch1033: compile-fix-for-disabling-CONFIG_MEMCG_KMEM.patch
|
|
|
|
BuildRoot: %{_tmppath}/kernel-%{KVERREL}-root
|
|
|
|
@@ -781,6 +786,9 @@ ApplyPatch dpt_i2o-fix-build-warning.patch
|
|
ApplyPatch turn-off-write-same-in-smartqpi-driver.patch
|
|
ApplyPatch restrict-iSCSI-kthreads-to-CPUs-in-cpu_kthread_mask.patch
|
|
ApplyPatch robustify-CFS-bandwidth-timer-locking.patch
|
|
+ApplyPatch fix-compilation-issues.patch
|
|
+ApplyPatch fix-CentOS-7.6-upgrade-compile-error.patch
|
|
+ApplyPatch compile-fix-for-disabling-CONFIG_MEMCG_KMEM.patch
|
|
|
|
# move off upstream version mechanism
|
|
if [ -e localversion-rt ]; then
|
|
--
|
|
1.8.3.1
|
|
|