packages/linux-lava: bump to 6.0 and some config changes
- use lru patch - try bore scheduler instead of pds - use 1000hz
This commit is contained in:
parent
f5d2b22894
commit
27f093d4ed
2 changed files with 26 additions and 18 deletions
|
|
@ -28,10 +28,12 @@ in buildLinux (args // {
|
||||||
NO_HZ_FULL = yes;
|
NO_HZ_FULL = yes;
|
||||||
NO_HZ_FULL_NODEF = yes;
|
NO_HZ_FULL_NODEF = yes;
|
||||||
NO_HZ_IDLE = no;
|
NO_HZ_IDLE = no;
|
||||||
|
TICK_CPU_ACCOUNTING = no;
|
||||||
|
VIRT_CPU_ACCOUNTING_GEN = yes;
|
||||||
CONTEXT_TRACKING = yes;
|
CONTEXT_TRACKING = yes;
|
||||||
CONTEXT_TRACKING_FORCE = no;
|
CONTEXT_TRACKING_FORCE = no;
|
||||||
HZ_500 = yes;
|
HZ_1000 = yes;
|
||||||
HZ_500_NODEF = yes;
|
HZ_1000_NODEF = yes;
|
||||||
|
|
||||||
# preempt
|
# preempt
|
||||||
PREEMPT = yes;
|
PREEMPT = yes;
|
||||||
|
|
@ -41,10 +43,7 @@ in buildLinux (args // {
|
||||||
PREEMPT_DYNAMIC = yes;
|
PREEMPT_DYNAMIC = yes;
|
||||||
|
|
||||||
# scheduler
|
# scheduler
|
||||||
SCHED_ALT = yes;
|
SCHED_BORE = yes;
|
||||||
SCHED_PDS = yes;
|
|
||||||
FAIR_GROUP_SCHED = no;
|
|
||||||
CFS_BANDWIDTH = no;
|
|
||||||
|
|
||||||
# disable numa
|
# disable numa
|
||||||
NUMA = no;
|
NUMA = no;
|
||||||
|
|
|
||||||
|
|
@ -1,19 +1,20 @@
|
||||||
{ fetchFromGitHub, inputs, lib }:
|
{ fetchFromGitHub, inputs, lib }:
|
||||||
let
|
let
|
||||||
version = "5.17.2";
|
version = "6.0";
|
||||||
kernelHash = "1cdi43x4c3l4chznh57gm55szycj4wjlxl1dss1ilnfvvmhyypsm";
|
kernelHash = "13kqh7yhifwz5dmd3ky0b3mzbh9r0nmjfp5mxy42drcdafjl692w";
|
||||||
kernelPatchHash = "0rsril9dpvxy4afc6agx8gsyhmbicww43dzmjhmxa8c4h6wdj8bx";
|
#kernelPatchHash = "0y25zs7rlk9dz9ppyr76rv6id64j3f4hpby4wljmy7p9z9wba30s";
|
||||||
|
|
||||||
|
mm = lib.versions.majorMinor version;
|
||||||
tkgPatches = [
|
tkgPatches = [
|
||||||
"0001-mm-Support-soft-dirty-flag-reset-for-VA-range"
|
"0001-mm-Support-soft-dirty-flag-reset-for-VA-range"
|
||||||
"0002-clear-patches"
|
"0002-clear-patches"
|
||||||
"0002-mm-Support-soft-dirty-flag-read-with-reset"
|
"0002-mm-Support-soft-dirty-flag-read-with-reset"
|
||||||
"0003-glitched-base"
|
"0003-glitched-base"
|
||||||
|
"0003-glitched-cfs"
|
||||||
|
"0003-glitched-cfs-additions"
|
||||||
"0007-v${mm}-fsync1_via_futex_waitv"
|
"0007-v${mm}-fsync1_via_futex_waitv"
|
||||||
"0007-v${mm}-winesync"
|
"0007-v${mm}-winesync"
|
||||||
"0009-prjc_v5.17-r0"
|
"0010-lru_${mm}"
|
||||||
"0009-glitched-ondemand-bmq"
|
|
||||||
"0005-glitched-pds"
|
|
||||||
"0012-misc-additions"
|
"0012-misc-additions"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
@ -21,14 +22,21 @@ let
|
||||||
name = "patch-${path}";
|
name = "patch-${path}";
|
||||||
patch = path;
|
patch = path;
|
||||||
};
|
};
|
||||||
kernelPatchSrc = {
|
# kernelPatchSrc = {
|
||||||
name = "patch";
|
# name = "patch";
|
||||||
|
# patch = builtins.fetchurl {
|
||||||
|
# url = "https://cdn.kernel.org/pub/linux/kernel/v${lib.versions.major version}.x/patch-${version}.xz";
|
||||||
|
# sha256 = kernelPatchHash;
|
||||||
|
# };
|
||||||
|
# };
|
||||||
|
|
||||||
|
borePatch = {
|
||||||
|
name = "bore-patch";
|
||||||
patch = builtins.fetchurl {
|
patch = builtins.fetchurl {
|
||||||
url = "https://cdn.kernel.org/pub/linux/kernel/v${lib.versions.major version}.x/patch-${version}.xz";
|
url = "https://raw.githubusercontent.com/CachyOS/kernel-patches/master/${mm}/sched/0001-bore.patch";
|
||||||
sha256 = kernelPatchHash;
|
sha256 = "1l7c1h3afd8080837x3a838bb7izz36mvzafpa4lsqkizsmyx1xl";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
mm = lib.versions.majorMinor version;
|
|
||||||
in {
|
in {
|
||||||
inherit version;
|
inherit version;
|
||||||
|
|
||||||
|
|
@ -42,7 +50,8 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
kernelPatches = [
|
kernelPatches = [
|
||||||
kernelPatchSrc
|
#kernelPatchSrc
|
||||||
|
borePatch
|
||||||
(patch ./si-manual-clocking.patch)
|
(patch ./si-manual-clocking.patch)
|
||||||
]
|
]
|
||||||
++ builtins.map (name: {
|
++ builtins.map (name: {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue