summaryrefslogtreecommitdiff
path: root/sys-kernel/linux-sources-redcore-lts/files/0001-MuQSS-version-0.162-CPU-scheduler-linux-hardened.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-01-05 21:06:28 +0000
committerV3n3RiX <venerix@redcorelinux.org>2019-01-05 21:06:28 +0000
commit5a86e6c1088164717ba4ee15bd1a1c10783e6f65 (patch)
tree7b45374f7a0ad5a3b3ace5e2e53cdc01d914cec3 /sys-kernel/linux-sources-redcore-lts/files/0001-MuQSS-version-0.162-CPU-scheduler-linux-hardened.patch
parent961e47eb129d348579bf2dd6e261f158f705d838 (diff)
sys-kernel/linux-{image,sources}-redcore-lts : version bump to 4.14.90
Diffstat (limited to 'sys-kernel/linux-sources-redcore-lts/files/0001-MuQSS-version-0.162-CPU-scheduler-linux-hardened.patch')
-rw-r--r--sys-kernel/linux-sources-redcore-lts/files/0001-MuQSS-version-0.162-CPU-scheduler-linux-hardened.patch151
1 files changed, 70 insertions, 81 deletions
diff --git a/sys-kernel/linux-sources-redcore-lts/files/0001-MuQSS-version-0.162-CPU-scheduler-linux-hardened.patch b/sys-kernel/linux-sources-redcore-lts/files/0001-MuQSS-version-0.162-CPU-scheduler-linux-hardened.patch
index 8f2c8783..a81dbeac 100644
--- a/sys-kernel/linux-sources-redcore-lts/files/0001-MuQSS-version-0.162-CPU-scheduler-linux-hardened.patch
+++ b/sys-kernel/linux-sources-redcore-lts/files/0001-MuQSS-version-0.162-CPU-scheduler-linux-hardened.patch
@@ -1,6 +1,6 @@
diff -Nur a/arch/powerpc/platforms/cell/spufs/sched.c b/arch/powerpc/platforms/cell/spufs/sched.c
---- a/arch/powerpc/platforms/cell/spufs/sched.c 2018-10-10 07:54:28.000000000 +0100
-+++ b/arch/powerpc/platforms/cell/spufs/sched.c 2018-11-03 16:06:32.704528679 +0000
+--- a/arch/powerpc/platforms/cell/spufs/sched.c 2018-12-21 13:13:19.000000000 +0000
++++ b/arch/powerpc/platforms/cell/spufs/sched.c 2019-01-05 20:22:51.089998199 +0000
@@ -65,11 +65,6 @@
static struct timer_list spuloadavg_timer;
@@ -14,16 +14,11 @@ diff -Nur a/arch/powerpc/platforms/cell/spufs/sched.c b/arch/powerpc/platforms/c
* tick for every 10 CPU scheduler ticks.
*/
diff -Nur a/arch/x86/Kconfig b/arch/x86/Kconfig
---- a/arch/x86/Kconfig 2018-11-03 16:00:51.897619785 +0000
-+++ b/arch/x86/Kconfig 2018-11-03 16:06:32.705528711 +0000
-@@ -963,10 +963,26 @@
- depends on SMP
- ---help---
- SMT scheduler support improves the CPU scheduler's decision making
-- when dealing with Intel Pentium 4 chips with HyperThreading at a
-+ when dealing with Intel P4/Core 2 chips with HyperThreading at a
- cost of slightly increased overhead in some places. If unsure say
- N here.
+--- a/arch/x86/Kconfig 2019-01-05 20:17:13.829237906 +0000
++++ b/arch/x86/Kconfig 2019-01-05 20:30:14.244135060 +0000
+@@ -957,6 +957,20 @@
+ config SCHED_SMT
+ def_bool y if SMP
+config SMT_NICE
+ bool "SMT (Hyperthreading) aware nice priority and policy support"
@@ -37,16 +32,14 @@ diff -Nur a/arch/x86/Kconfig b/arch/x86/Kconfig
+ its hyperthread siblings, maintaining appropriate distribution of
+ CPU according to nice levels and scheduling policies at the expense
+ of slightly increased overhead.
-+
+ If unsure say Y here.
+
-+
config SCHED_MC
def_bool y
prompt "Multi-core scheduler support"
diff -Nur a/Documentation/scheduler/sched-BFS.txt b/Documentation/scheduler/sched-BFS.txt
--- a/Documentation/scheduler/sched-BFS.txt 1970-01-01 01:00:00.000000000 +0100
-+++ b/Documentation/scheduler/sched-BFS.txt 2018-11-03 16:06:32.702528615 +0000
++++ b/Documentation/scheduler/sched-BFS.txt 2019-01-05 20:22:51.089998199 +0000
@@ -0,0 +1,351 @@
+BFS - The Brain Fuck Scheduler by Con Kolivas.
+
@@ -401,7 +394,7 @@ diff -Nur a/Documentation/scheduler/sched-BFS.txt b/Documentation/scheduler/sche
+Con Kolivas <kernel@kolivas.org> Fri Aug 27 2010
diff -Nur a/Documentation/scheduler/sched-MuQSS.txt b/Documentation/scheduler/sched-MuQSS.txt
--- a/Documentation/scheduler/sched-MuQSS.txt 1970-01-01 01:00:00.000000000 +0100
-+++ b/Documentation/scheduler/sched-MuQSS.txt 2018-11-03 16:06:32.702528615 +0000
++++ b/Documentation/scheduler/sched-MuQSS.txt 2019-01-05 20:22:51.089998199 +0000
@@ -0,0 +1,347 @@
+MuQSS - The Multiple Queue Skiplist Scheduler by Con Kolivas.
+
@@ -751,8 +744,8 @@ diff -Nur a/Documentation/scheduler/sched-MuQSS.txt b/Documentation/scheduler/sc
+
+Con Kolivas <kernel@kolivas.org> Sat, 29th October 2016
diff -Nur a/Documentation/sysctl/kernel.txt b/Documentation/sysctl/kernel.txt
---- a/Documentation/sysctl/kernel.txt 2018-11-03 16:00:51.893619657 +0000
-+++ b/Documentation/sysctl/kernel.txt 2018-11-03 16:06:32.703528647 +0000
+--- a/Documentation/sysctl/kernel.txt 2019-01-05 20:17:13.829237906 +0000
++++ b/Documentation/sysctl/kernel.txt 2019-01-05 20:22:51.089998199 +0000
@@ -39,6 +39,7 @@
- hung_task_timeout_secs
- hung_task_warnings
@@ -830,8 +823,8 @@ diff -Nur a/Documentation/sysctl/kernel.txt b/Documentation/sysctl/kernel.txt
+
+==============================================================
diff -Nur a/fs/proc/base.c b/fs/proc/base.c
---- a/fs/proc/base.c 2018-10-10 07:54:28.000000000 +0100
-+++ b/fs/proc/base.c 2018-11-03 16:06:32.706528743 +0000
+--- a/fs/proc/base.c 2018-12-21 13:13:19.000000000 +0000
++++ b/fs/proc/base.c 2019-01-05 20:22:51.089998199 +0000
@@ -481,7 +481,7 @@
seq_printf(m, "0 0 0\n");
else
@@ -842,8 +835,8 @@ diff -Nur a/fs/proc/base.c b/fs/proc/base.c
task->sched_info.pcount);
diff -Nur a/include/linux/init_task.h b/include/linux/init_task.h
---- a/include/linux/init_task.h 2018-10-10 07:54:28.000000000 +0100
-+++ b/include/linux/init_task.h 2018-11-03 16:06:32.706528743 +0000
+--- a/include/linux/init_task.h 2018-12-21 13:13:19.000000000 +0000
++++ b/include/linux/init_task.h 2019-01-05 20:22:51.089998199 +0000
@@ -172,8 +172,6 @@
# define INIT_VTIME(tsk)
#endif
@@ -944,8 +937,8 @@ diff -Nur a/include/linux/init_task.h b/include/linux/init_task.h
/* Attach to the init_task data structure for proper alignment */
#define __init_task_data __attribute__((__section__(".data..init_task")))
diff -Nur a/include/linux/ioprio.h b/include/linux/ioprio.h
---- a/include/linux/ioprio.h 2018-10-10 07:54:28.000000000 +0100
-+++ b/include/linux/ioprio.h 2018-11-03 16:06:32.706528743 +0000
+--- a/include/linux/ioprio.h 2018-12-21 13:13:19.000000000 +0000
++++ b/include/linux/ioprio.h 2019-01-05 20:22:51.089998199 +0000
@@ -52,6 +52,8 @@
*/
static inline int task_nice_ioprio(struct task_struct *task)
@@ -956,8 +949,8 @@ diff -Nur a/include/linux/ioprio.h b/include/linux/ioprio.h
}
diff -Nur a/include/linux/sched/nohz.h b/include/linux/sched/nohz.h
---- a/include/linux/sched/nohz.h 2018-10-10 07:54:28.000000000 +0100
-+++ b/include/linux/sched/nohz.h 2018-11-03 16:06:32.707528775 +0000
+--- a/include/linux/sched/nohz.h 2018-12-21 13:13:19.000000000 +0000
++++ b/include/linux/sched/nohz.h 2019-01-05 20:22:51.089998199 +0000
@@ -6,7 +6,7 @@
* This is the interface between the scheduler and nohz/dynticks:
*/
@@ -977,8 +970,8 @@ diff -Nur a/include/linux/sched/nohz.h b/include/linux/sched/nohz.h
void calc_load_nohz_stop(void);
#else
diff -Nur a/include/linux/sched/prio.h b/include/linux/sched/prio.h
---- a/include/linux/sched/prio.h 2018-10-10 07:54:28.000000000 +0100
-+++ b/include/linux/sched/prio.h 2018-11-03 16:06:32.707528775 +0000
+--- a/include/linux/sched/prio.h 2018-12-21 13:13:19.000000000 +0000
++++ b/include/linux/sched/prio.h 2019-01-05 20:22:51.089998199 +0000
@@ -20,8 +20,20 @@
*/
@@ -1001,8 +994,8 @@ diff -Nur a/include/linux/sched/prio.h b/include/linux/sched/prio.h
#define DEFAULT_PRIO (MAX_RT_PRIO + NICE_WIDTH / 2)
diff -Nur a/include/linux/sched/task.h b/include/linux/sched/task.h
---- a/include/linux/sched/task.h 2018-10-10 07:54:28.000000000 +0100
-+++ b/include/linux/sched/task.h 2018-11-03 16:06:32.707528775 +0000
+--- a/include/linux/sched/task.h 2018-12-21 13:13:19.000000000 +0000
++++ b/include/linux/sched/task.h 2019-01-05 20:22:51.089998199 +0000
@@ -80,7 +80,7 @@
extern void free_task(struct task_struct *tsk);
@@ -1013,8 +1006,8 @@ diff -Nur a/include/linux/sched/task.h b/include/linux/sched/task.h
#else
#define sched_exec() {}
diff -Nur a/include/linux/sched.h b/include/linux/sched.h
---- a/include/linux/sched.h 2018-10-10 07:54:28.000000000 +0100
-+++ b/include/linux/sched.h 2018-11-03 16:06:32.707528775 +0000
+--- a/include/linux/sched.h 2018-12-21 13:13:19.000000000 +0000
++++ b/include/linux/sched.h 2019-01-05 20:22:51.089998199 +0000
@@ -27,6 +27,9 @@
#include <linux/signal_types.h>
#include <linux/mm_types_task.h>
@@ -1118,7 +1111,7 @@ diff -Nur a/include/linux/sched.h b/include/linux/sched.h
return task->pids[PIDTYPE_PID].pid;
diff -Nur a/include/linux/skip_list.h b/include/linux/skip_list.h
--- a/include/linux/skip_list.h 1970-01-01 01:00:00.000000000 +0100
-+++ b/include/linux/skip_list.h 2018-11-03 16:06:32.708528807 +0000
++++ b/include/linux/skip_list.h 2019-01-05 20:22:51.089998199 +0000
@@ -0,0 +1,33 @@
+#ifndef _LINUX_SKIP_LISTS_H
+#define _LINUX_SKIP_LISTS_H
@@ -1154,8 +1147,8 @@ diff -Nur a/include/linux/skip_list.h b/include/linux/skip_list.h
+}
+#endif /* _LINUX_SKIP_LISTS_H */
diff -Nur a/include/uapi/linux/sched.h b/include/uapi/linux/sched.h
---- a/include/uapi/linux/sched.h 2018-10-10 07:54:28.000000000 +0100
-+++ b/include/uapi/linux/sched.h 2018-11-03 16:06:32.708528807 +0000
+--- a/include/uapi/linux/sched.h 2018-12-21 13:13:19.000000000 +0000
++++ b/include/uapi/linux/sched.h 2019-01-05 20:22:51.089998199 +0000
@@ -37,9 +37,16 @@
#define SCHED_FIFO 1
#define SCHED_RR 2
@@ -1175,8 +1168,8 @@ diff -Nur a/include/uapi/linux/sched.h b/include/uapi/linux/sched.h
/* Can be ORed in to make sure the process is reverted back to SCHED_NORMAL on fork */
#define SCHED_RESET_ON_FORK 0x40000000
diff -Nur a/init/Kconfig b/init/Kconfig
---- a/init/Kconfig 2018-11-03 16:00:51.921620552 +0000
-+++ b/init/Kconfig 2018-11-03 16:06:32.709528839 +0000
+--- a/init/Kconfig 2019-01-05 20:17:13.849238543 +0000
++++ b/init/Kconfig 2019-01-05 20:22:51.089998199 +0000
@@ -38,6 +38,18 @@
menu "General setup"
@@ -1237,8 +1230,8 @@ diff -Nur a/init/Kconfig b/init/Kconfig
select CGROUP_SCHED
select FAIR_GROUP_SCHED
diff -Nur a/init/main.c b/init/main.c
---- a/init/main.c 2018-10-10 07:54:28.000000000 +0100
-+++ b/init/main.c 2018-11-03 16:06:32.709528839 +0000
+--- a/init/main.c 2018-12-21 13:13:19.000000000 +0000
++++ b/init/main.c 2019-01-05 20:22:51.089998199 +0000
@@ -841,7 +841,6 @@
return ret;
}
@@ -1257,8 +1250,8 @@ diff -Nur a/init/main.c b/init/main.c
ret = run_init_process(ramdisk_execute_command);
if (!ret)
diff -Nur a/kernel/delayacct.c b/kernel/delayacct.c
---- a/kernel/delayacct.c 2018-10-10 07:54:28.000000000 +0100
-+++ b/kernel/delayacct.c 2018-11-03 16:06:32.710528871 +0000
+--- a/kernel/delayacct.c 2018-12-21 13:13:19.000000000 +0000
++++ b/kernel/delayacct.c 2019-01-05 20:22:51.089998199 +0000
@@ -115,7 +115,7 @@
*/
t1 = tsk->sched_info.pcount;
@@ -1269,8 +1262,8 @@ diff -Nur a/kernel/delayacct.c b/kernel/delayacct.c
d->cpu_count += t1;
diff -Nur a/kernel/exit.c b/kernel/exit.c
---- a/kernel/exit.c 2018-10-10 07:54:28.000000000 +0100
-+++ b/kernel/exit.c 2018-11-03 16:06:32.710528871 +0000
+--- a/kernel/exit.c 2018-12-21 13:13:19.000000000 +0000
++++ b/kernel/exit.c 2019-01-05 20:22:51.089998199 +0000
@@ -129,7 +129,7 @@
sig->curr_target = next_thread(tsk);
}
@@ -1290,8 +1283,8 @@ diff -Nur a/kernel/exit.c b/kernel/exit.c
__unhash_process(tsk, group_dead);
write_sequnlock(&sig->stats_lock);
diff -Nur a/kernel/kthread.c b/kernel/kthread.c
---- a/kernel/kthread.c 2018-10-10 07:54:28.000000000 +0100
-+++ b/kernel/kthread.c 2018-11-03 16:06:32.711528903 +0000
+--- a/kernel/kthread.c 2018-12-21 13:13:19.000000000 +0000
++++ b/kernel/kthread.c 2019-01-05 20:22:51.099998516 +0000
@@ -410,6 +410,34 @@
}
EXPORT_SYMBOL(kthread_bind);
@@ -1337,8 +1330,8 @@ diff -Nur a/kernel/kthread.c b/kernel/kthread.c
set_bit(KTHREAD_IS_PER_CPU, &to_kthread(p)->flags);
to_kthread(p)->cpu = cpu;
diff -Nur a/kernel/livepatch/transition.c b/kernel/livepatch/transition.c
---- a/kernel/livepatch/transition.c 2018-10-10 07:54:28.000000000 +0100
-+++ b/kernel/livepatch/transition.c 2018-11-03 16:06:32.711528903 +0000
+--- a/kernel/livepatch/transition.c 2018-12-21 13:13:19.000000000 +0000
++++ b/kernel/livepatch/transition.c 2019-01-05 20:22:51.099998516 +0000
@@ -277,6 +277,12 @@
return 0;
}
@@ -1362,8 +1355,8 @@ diff -Nur a/kernel/livepatch/transition.c b/kernel/livepatch/transition.c
bool success = false;
char err_buf[STACK_ERR_BUF_SIZE];
diff -Nur a/kernel/Makefile b/kernel/Makefile
---- a/kernel/Makefile 2018-10-10 07:54:28.000000000 +0100
-+++ b/kernel/Makefile 2018-11-03 16:06:32.709528839 +0000
+--- a/kernel/Makefile 2018-12-21 13:13:19.000000000 +0000
++++ b/kernel/Makefile 2019-01-05 20:22:51.099998516 +0000
@@ -10,7 +10,7 @@
extable.o params.o \
kthread.o sys_ni.o nsproxy.o \
@@ -1374,8 +1367,8 @@ diff -Nur a/kernel/Makefile b/kernel/Makefile
obj-$(CONFIG_MODULES) += kmod.o
obj-$(CONFIG_MULTIUSER) += groups.o
diff -Nur a/kernel/rcu/Kconfig b/kernel/rcu/Kconfig
---- a/kernel/rcu/Kconfig 2018-10-10 07:54:28.000000000 +0100
-+++ b/kernel/rcu/Kconfig 2018-11-03 16:06:32.711528903 +0000
+--- a/kernel/rcu/Kconfig 2018-12-21 13:13:19.000000000 +0000
++++ b/kernel/rcu/Kconfig 2019-01-05 20:22:51.099998516 +0000
@@ -93,7 +93,7 @@
config CONTEXT_TRACKING_FORCE
bool "Force context tracking"
@@ -1386,8 +1379,8 @@ diff -Nur a/kernel/rcu/Kconfig b/kernel/rcu/Kconfig
The major pre-requirement for full dynticks to work is to
support the context tracking subsystem. But there are also
diff -Nur a/kernel/sched/cpufreq_schedutil.c b/kernel/sched/cpufreq_schedutil.c
---- a/kernel/sched/cpufreq_schedutil.c 2018-10-10 07:54:28.000000000 +0100
-+++ b/kernel/sched/cpufreq_schedutil.c 2018-11-03 16:06:32.716529064 +0000
+--- a/kernel/sched/cpufreq_schedutil.c 2018-12-21 13:13:19.000000000 +0000
++++ b/kernel/sched/cpufreq_schedutil.c 2019-01-05 20:22:51.099998516 +0000
@@ -176,6 +176,17 @@
return cpufreq_driver_resolve_freq(policy, freq);
}
@@ -1415,8 +1408,8 @@ diff -Nur a/kernel/sched/cpufreq_schedutil.c b/kernel/sched/cpufreq_schedutil.c
static void sugov_set_iowait_boost(struct sugov_cpu *sg_cpu, u64 time,
unsigned int flags)
diff -Nur a/kernel/sched/cputime.c b/kernel/sched/cputime.c
---- a/kernel/sched/cputime.c 2018-10-10 07:54:28.000000000 +0100
-+++ b/kernel/sched/cputime.c 2018-11-03 16:06:32.716529064 +0000
+--- a/kernel/sched/cputime.c 2018-12-21 13:13:19.000000000 +0000
++++ b/kernel/sched/cputime.c 2019-01-05 20:22:51.099998516 +0000
@@ -270,26 +270,6 @@
return accounted;
}
@@ -1454,8 +1447,8 @@ diff -Nur a/kernel/sched/cputime.c b/kernel/sched/cputime.c
task_cputime(p, &cputime.utime, &cputime.stime);
diff -Nur a/kernel/sched/idle.c b/kernel/sched/idle.c
---- a/kernel/sched/idle.c 2018-10-10 07:54:28.000000000 +0100
-+++ b/kernel/sched/idle.c 2018-11-03 16:06:32.716529064 +0000
+--- a/kernel/sched/idle.c 2018-12-21 13:13:19.000000000 +0000
++++ b/kernel/sched/idle.c 2019-01-05 20:22:51.099998516 +0000
@@ -209,6 +209,9 @@
*/
static void do_idle(void)
@@ -1496,8 +1489,8 @@ diff -Nur a/kernel/sched/idle.c b/kernel/sched/idle.c
/*
diff -Nur a/kernel/sched/Makefile b/kernel/sched/Makefile
---- a/kernel/sched/Makefile 2018-10-10 07:54:28.000000000 +0100
-+++ b/kernel/sched/Makefile 2018-11-03 16:06:32.711528903 +0000
+--- a/kernel/sched/Makefile 2018-12-21 13:13:19.000000000 +0000
++++ b/kernel/sched/Makefile 2019-01-05 20:22:51.099998516 +0000
@@ -16,14 +16,20 @@
CFLAGS_core.o := $(PROFILING) -fno-omit-frame-pointer
endif
@@ -1525,7 +1518,7 @@ diff -Nur a/kernel/sched/Makefile b/kernel/sched/Makefile
obj-$(CONFIG_MEMBARRIER) += membarrier.o
diff -Nur a/kernel/sched/MuQSS.c b/kernel/sched/MuQSS.c
--- a/kernel/sched/MuQSS.c 1970-01-01 01:00:00.000000000 +0100
-+++ b/kernel/sched/MuQSS.c 2018-11-03 16:06:32.715529032 +0000
++++ b/kernel/sched/MuQSS.c 2019-01-05 20:22:51.099998516 +0000
@@ -0,0 +1,6923 @@
+// SPDX-License-Identifier: GPL-2.0
+/*
@@ -8452,7 +8445,7 @@ diff -Nur a/kernel/sched/MuQSS.c b/kernel/sched/MuQSS.c
+#endif /* CONFIG_CGROUP_SCHED */
diff -Nur a/kernel/sched/MuQSS.h b/kernel/sched/MuQSS.h
--- a/kernel/sched/MuQSS.h 1970-01-01 01:00:00.000000000 +0100
-+++ b/kernel/sched/MuQSS.h 2018-11-03 16:06:32.715529032 +0000
++++ b/kernel/sched/MuQSS.h 2019-01-05 20:22:51.099998516 +0000
@@ -0,0 +1,725 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#include <linux/sched.h>
@@ -9180,8 +9173,8 @@ diff -Nur a/kernel/sched/MuQSS.h b/kernel/sched/MuQSS.h
+
+#endif /* MUQSS_SCHED_H */
diff -Nur a/kernel/sched/sched.h b/kernel/sched/sched.h
---- a/kernel/sched/sched.h 2018-10-10 07:54:28.000000000 +0100
-+++ b/kernel/sched/sched.h 2018-11-03 16:06:32.717529096 +0000
+--- a/kernel/sched/sched.h 2018-12-21 13:13:19.000000000 +0000
++++ b/kernel/sched/sched.h 2019-01-05 20:22:51.099998516 +0000
@@ -1,5 +1,8 @@
/* SPDX-License-Identifier: GPL-2.0 */
@@ -9223,7 +9216,7 @@ diff -Nur a/kernel/sched/sched.h b/kernel/sched/sched.h
+#endif /* CONFIG_SCHED_MUQSS */
diff -Nur a/kernel/skip_list.c b/kernel/skip_list.c
--- a/kernel/skip_list.c 1970-01-01 01:00:00.000000000 +0100
-+++ b/kernel/skip_list.c 2018-11-03 16:06:32.717529096 +0000
++++ b/kernel/skip_list.c 2019-01-05 20:22:51.099998516 +0000
@@ -0,0 +1,148 @@
+/*
+ Copyright (C) 2011,2016 Con Kolivas.
@@ -9374,16 +9367,12 @@ diff -Nur a/kernel/skip_list.c b/kernel/skip_list.c
+ l->entries--;
+}
diff -Nur a/kernel/sysctl.c b/kernel/sysctl.c
---- a/kernel/sysctl.c 2018-11-03 16:00:51.933620936 +0000
-+++ b/kernel/sysctl.c 2018-11-03 16:12:48.444570622 +0000
-@@ -133,8 +133,14 @@
- static int __maybe_unused two __read_only = 2;
- static int __maybe_unused four __read_only = 4;
+--- a/kernel/sysctl.c 2019-01-05 20:17:13.859238862 +0000
++++ b/kernel/sysctl.c 2019-01-05 20:22:51.099998516 +0000
+@@ -135,6 +135,12 @@
static unsigned long one_ul __read_only = 1;
--static int one_hundred __read_only = 100;
--static int one_thousand __read_only = 1000;
-+static int one_hundred __read_only = 100;
-+static int one_thousand __read_only = 1000;
+ static int one_hundred __read_only = 100;
+ static int one_thousand __read_only = 1000;
+#ifdef CONFIG_SCHED_MUQSS
+extern int rr_interval;
+extern int sched_interactive;
@@ -9464,8 +9453,8 @@ diff -Nur a/kernel/sysctl.c b/kernel/sysctl.c
{
.procname = "spin_retry",
diff -Nur a/kernel/time/clockevents.c b/kernel/time/clockevents.c
---- a/kernel/time/clockevents.c 2018-10-10 07:54:28.000000000 +0100
-+++ b/kernel/time/clockevents.c 2018-11-03 16:06:32.719529160 +0000
+--- a/kernel/time/clockevents.c 2018-12-21 13:13:19.000000000 +0000
++++ b/kernel/time/clockevents.c 2019-01-05 20:22:51.099998516 +0000
@@ -198,8 +198,13 @@
#ifdef CONFIG_GENERIC_CLOCKEVENTS_MIN_ADJUST
@@ -9481,8 +9470,8 @@ diff -Nur a/kernel/time/clockevents.c b/kernel/time/clockevents.c
/**
* clockevents_increase_min_delta - raise minimum delta of a clock event device
diff -Nur a/kernel/time/posix-cpu-timers.c b/kernel/time/posix-cpu-timers.c
---- a/kernel/time/posix-cpu-timers.c 2018-10-10 07:54:28.000000000 +0100
-+++ b/kernel/time/posix-cpu-timers.c 2018-11-03 16:06:32.719529160 +0000
+--- a/kernel/time/posix-cpu-timers.c 2018-12-21 13:13:19.000000000 +0000
++++ b/kernel/time/posix-cpu-timers.c 2019-01-05 20:22:51.109998835 +0000
@@ -818,7 +818,7 @@
tsk_expires->virt_exp = expires;
@@ -9520,8 +9509,8 @@ diff -Nur a/kernel/time/posix-cpu-timers.c b/kernel/time/posix-cpu-timers.c
return 1;
}
diff -Nur a/kernel/time/timer.c b/kernel/time/timer.c
---- a/kernel/time/timer.c 2018-11-03 16:00:51.934620967 +0000
-+++ b/kernel/time/timer.c 2018-11-03 16:06:32.720529192 +0000
+--- a/kernel/time/timer.c 2019-01-05 20:17:13.859238862 +0000
++++ b/kernel/time/timer.c 2019-01-05 20:22:51.109998835 +0000
@@ -1434,7 +1434,7 @@
* Check, if the next hrtimer event is before the next timer wheel
* event:
@@ -9551,8 +9540,8 @@ diff -Nur a/kernel/time/timer.c b/kernel/time/timer.c
/**
diff -Nur a/kernel/trace/trace_selftest.c b/kernel/trace/trace_selftest.c
---- a/kernel/trace/trace_selftest.c 2018-10-10 07:54:28.000000000 +0100
-+++ b/kernel/trace/trace_selftest.c 2018-11-03 16:06:32.720529192 +0000
+--- a/kernel/trace/trace_selftest.c 2018-12-21 13:13:19.000000000 +0000
++++ b/kernel/trace/trace_selftest.c 2019-01-05 20:22:51.109998835 +0000
@@ -1041,10 +1041,15 @@
{
/* Make this a -deadline thread */