summaryrefslogtreecommitdiff
path: root/sys-kernel/linux-sources-redcore-lts/files
diff options
context:
space:
mode:
Diffstat (limited to 'sys-kernel/linux-sources-redcore-lts/files')
-rw-r--r--sys-kernel/linux-sources-redcore-lts/files/0017-unfuck-MuQSS-on-linux-4_14_75+.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/sys-kernel/linux-sources-redcore-lts/files/0017-unfuck-MuQSS-on-linux-4_14_75+.patch b/sys-kernel/linux-sources-redcore-lts/files/0017-unfuck-MuQSS-on-linux-4_14_75+.patch
new file mode 100644
index 00000000..1a1717bf
--- /dev/null
+++ b/sys-kernel/linux-sources-redcore-lts/files/0017-unfuck-MuQSS-on-linux-4_14_75+.patch
@@ -0,0 +1,14 @@
+diff -Nur a/kernel/sched/MuQSS.c b/kernel/sched/MuQSS.c
+--- a/kernel/sched/MuQSS.c 2019-01-05 22:51:24.547448624 +0000
++++ b/kernel/sched/MuQSS.c 2019-01-05 22:58:29.821451056 +0000
+@@ -1021,6 +1021,10 @@
+ #define CPUIDLE_THREAD_BUSY (16)
+ #define CPUIDLE_DIFF_NODE (32)
+
++#ifdef CONFIG_SCHED_SMT
++DEFINE_STATIC_KEY_FALSE(sched_smt_present);
++#endif
++
+ /*
+ * The best idle CPU is chosen according to the CPUIDLE ranking above where the
+ * lowest value would give the most suitable CPU to schedule p onto next. The