linux513-tkg: Importe rebased MuQSS patchset from zen
https://github.com/zen-kernel/zen-kernel/commits/5.13/muqss
This commit is contained in:
6
PKGBUILD
6
PKGBUILD
@@ -493,6 +493,9 @@ case $_basever in
|
||||
0003-glitched-base.patch
|
||||
0003-glitched-cfs.patch
|
||||
0003-glitched-cfs-additions.patch
|
||||
0004-glitched-ondemand-muqss.patch
|
||||
0004-glitched-muqss.patch
|
||||
0004-5.13-ck1.patch
|
||||
0005-glitched-pds.patch
|
||||
0006-add-acs-overrides_iommu.patch
|
||||
0007-v5.13-fsync.patch
|
||||
@@ -519,6 +522,9 @@ case $_basever in
|
||||
'ef48eea194c1c101de0461572eaf311f232fee55c155c52904b20085a92db680'
|
||||
'5efd40c392ece498d2d43d5443e6537c2d9ef7cf9820d5ce80b6577fc5d1a4b2'
|
||||
'e5ea0bb25ee294c655ac3cc30e1eea497799826108fbfb4ef3258c676c1e8a12'
|
||||
'c605f638d74c61861ebdc36ebd4cb8b6475eae2f6273e1ccb2bbb3e10a2ec3fe'
|
||||
'de718ecea652a74e1d821459397d3dafaa3de1a7dba3df51ba9fc42b8645c3e2'
|
||||
'fc51648e44314fc3baa5e8fe18936fe3a2bedb9a42b03342ccfa16ff19a3fcfa'
|
||||
'fca63d15ca4502aebd73e76d7499b243d2c03db71ff5ab0bf5cf268b2e576320'
|
||||
'19661ec0d39f9663452b34433214c755179894528bf73a42f6ba52ccf572832a'
|
||||
'89d837bfea3515504b1c99fc881ebdc4f15e2999558127a263e795fc69408a39'
|
||||
|
@@ -130,7 +130,7 @@ _set_cpu_scheduler() {
|
||||
elif [ "$_basever" = "512" ]; then
|
||||
_avail_cpu_scheds=("pds" "bmq" "muqss" "cacule" "cfs")
|
||||
elif [ "$_basever" = "513" ]; then
|
||||
_avail_cpu_scheds=("pds" "bmq" "cacule" "cfs")
|
||||
_avail_cpu_scheds=("pds" "bmq" "muqss" "cacule" "cfs")
|
||||
elif [ "$_basever" = "514" ]; then
|
||||
_avail_cpu_scheds=("pds" "bmq" "cacule" "cfs")
|
||||
else
|
||||
|
14317
linux-tkg-patches/5.13/0004-5.13-ck1.patch
Normal file
14317
linux-tkg-patches/5.13/0004-5.13-ck1.patch
Normal file
File diff suppressed because it is too large
Load Diff
21
linux-tkg-patches/5.13/0004-glitched-muqss.patch
Normal file
21
linux-tkg-patches/5.13/0004-glitched-muqss.patch
Normal file
@@ -0,0 +1,21 @@
|
||||
From f7f49141a5dbe9c99d78196b58c44307fb2e6be3 Mon Sep 17 00:00:00 2001
|
||||
From: Tk-Glitch <ti3nou@gmail.com>
|
||||
Date: Wed, 4 Jul 2018 04:30:08 +0200
|
||||
Subject: glitched - MuQSS
|
||||
|
||||
diff --git a/kernel/sched/MuQSS.c b/kernel/sched/MuQSS.c
|
||||
index 84a1d08d68551..57c3036a68952 100644
|
||||
--- a/kernel/sched/MuQSS.c
|
||||
+++ b/kernel/sched/MuQSS.c
|
||||
@@ -163,7 +167,11 @@ int sched_interactive __read_mostly = 1;
|
||||
* are allowed to run five seconds as real time tasks. This is the total over
|
||||
* all online cpus.
|
||||
*/
|
||||
+#ifdef CONFIG_ZENIFY
|
||||
+int sched_iso_cpu __read_mostly = 25;
|
||||
+#else
|
||||
int sched_iso_cpu __read_mostly = 70;
|
||||
+#endif
|
||||
|
||||
/*
|
||||
* sched_yield_type - Choose what sort of yield sched_yield will perform.
|
18
linux-tkg-patches/5.13/0004-glitched-ondemand-muqss.patch
Normal file
18
linux-tkg-patches/5.13/0004-glitched-ondemand-muqss.patch
Normal file
@@ -0,0 +1,18 @@
|
||||
diff --git a/drivers/cpufreq/cpufreq_ondemand.c b/drivers/cpufreq/cpufreq_ondemand.c
|
||||
index 6b423eebfd5d..61e3271675d6 100644
|
||||
--- a/drivers/cpufreq/cpufreq_ondemand.c
|
||||
+++ b/drivers/cpufreq/cpufreq_ondemand.c
|
||||
@@ -21,10 +21,10 @@
|
||||
#include "cpufreq_ondemand.h"
|
||||
|
||||
/* On-demand governor macros */
|
||||
-#define DEF_FREQUENCY_UP_THRESHOLD (80)
|
||||
-#define DEF_SAMPLING_DOWN_FACTOR (1)
|
||||
+#define DEF_FREQUENCY_UP_THRESHOLD (45)
|
||||
+#define DEF_SAMPLING_DOWN_FACTOR (5)
|
||||
#define MAX_SAMPLING_DOWN_FACTOR (100000)
|
||||
-#define MICRO_FREQUENCY_UP_THRESHOLD (95)
|
||||
+#define MICRO_FREQUENCY_UP_THRESHOLD (45)
|
||||
#define MICRO_FREQUENCY_MIN_SAMPLE_RATE (10000)
|
||||
#define MIN_FREQUENCY_UP_THRESHOLD (1)
|
||||
#define MAX_FREQUENCY_UP_THRESHOLD (100)
|
Reference in New Issue
Block a user