Skip to content

Archlinux Kernel based on different schedulers and some other performance improvements.

PDS/BMQ fixed

P. Jungc6213567bb2a
diff --git a/linux-cachyos-bmq/.SRCINFO b/linux-cachyos-bmq/.SRCINFO
index f1aaa191..d04f21ca 100644
--- a/linux-cachyos-bmq/.SRCINFO
+++ b/linux-cachyos-bmq/.SRCINFO
@@ -19,10 +19,11 @@ pkgbase = linux-cachyos-bmq
makedepends = tar
makedepends = xz
options = !strip
+ source = https://git.kernel.org/torvalds/t/linux-5.16.tar.gz
source = config
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/sched/0001-prjc.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-MG-LRU-v6.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-amd64-patches.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-sched-perf-fix.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-block-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-blk-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-pm.patch
@@ -32,6 +33,7 @@ pkgbase = linux-cachyos-bmq
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-lrng.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-cfi.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-cpu.patch
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-page-table-check.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-clearlinux.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-f2fs-xfs-ext4-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-misc.patch
@@ -43,13 +45,13 @@ pkgbase = linux-cachyos-bmq
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-zstd-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-zen-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-v4l2loopback.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/next/0002-mm-next.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/next/0003-folio-io.patch
source = auto-cpu-optimization.sh
+ md5sums = 5c6acbcc119ab680a32264c865ea70e1
md5sums = f9425b75de74d70497781f8c8448c27f
+ md5sums = 3b05d6069ddcff7dec9c3a216ae48825
md5sums = d16ccc4f52eb0bc08893dc66a7caa154
md5sums = dbdb6754a1f5b3ccf26321843a070406
- md5sums = d6feae0f2dd1b24a853d335da003cb51
md5sums = f717c0a238353f443a6f0633a59ee8ca
md5sums = 194c8e20ad30973c32159cb23f3be4c9
md5sums = 2faaa79055263c1cdeeaa2896e641696
@@ -59,6 +61,7 @@ pkgbase = linux-cachyos-bmq
md5sums = 9f86c3b9e6271cfc4440864a6857b256
md5sums = b61fd5f488e44208fc97bfa6a274aebb
md5sums = d4c38ce51fb9a69aa92ad9b9e0199122
+ md5sums = 7d28f804d6b74f9a22ad30d67af5a669
md5sums = a687c26c262ccb9ad7cb54697a1476bc
md5sums = 8ef0e994f61bcd8d2188588f42805005
md5sums = 80920e501b9b87bfe587edff445e6efe
@@ -70,7 +73,6 @@ pkgbase = linux-cachyos-bmq
md5sums = bf58290793d3a095ef95fb1fac2de89a
md5sums = de6db1147385c058b2e94df3c1739fdf
md5sums = cb9384ce179d08be6c90df6d0a0977a1
- md5sums = 258c33888c85d1ecc0bbdf59c3a92895
md5sums = 9956af4381a21744369bf81d76d3142d
md5sums = 21c98f19e883879dd3336c1fa143fd31
diff --git a/linux-cachyos-bmq/PKGBUILD b/linux-cachyos-bmq/PKGBUILD
index 84e4a532..8ddc3301 100644
--- a/linux-cachyos-bmq/PKGBUILD
+++ b/linux-cachyos-bmq/PKGBUILD
@@ -148,14 +148,14 @@ if [ -n "$_use_llvm_lto" ]; then
fi
_patchsource="https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16"
source=(
+ "https://git.kernel.org/torvalds/t/linux-${_stable}.tar.gz"
"config"
- # "${_patchsource}/sched/0001-pjrc.patch" ## currently not working
+ "${_patchsource}/sched/0001-prjc.patch"
# "${_patchsource}/sched/0001-cacULE-5.16-full.patch"
# "${_patchsource}/sched/0001-bore-sched.patch"
# "${_patchsource}/sched/0001-tt.patch"
"${_patchsource}/0001-MG-LRU-v6.patch"
"${_patchsource}/0001-amd64-patches.patch"
- "${_patchsource}/0001-sched-perf-fix.patch"
"${_patchsource}/0001-block-patches.patch"
"${_patchsource}/0001-blk-patches.patch"
"${_patchsource}/0001-pm.patch"
@@ -165,6 +165,7 @@ source=(
"${_patchsource}/0001-lrng.patch"
"${_patchsource}/0001-cfi.patch"
"${_patchsource}/0001-cpu.patch"
+ "${_patchsource}/0001-page-table-check.patch"
"${_patchsource}/0001-clearlinux.patch"
"${_patchsource}/0001-f2fs-xfs-ext4-patches.patch"
"${_patchsource}/0001-misc.patch"
@@ -176,7 +177,6 @@ source=(
"${_patchsource}/0001-zstd-patches.patch"
"${_patchsource}/0001-zen-patches.patch"
"${_patchsource}/0001-v4l2loopback.patch"
- "${_patchsource}/next/0002-mm-next.patch"
"${_patchsource}/next/0003-folio-io.patch"
"auto-cpu-optimization.sh"
)
@@ -658,10 +658,11 @@ for _p in "${pkgname[@]}"; do
}"
done
-md5sums=('f9425b75de74d70497781f8c8448c27f'
+md5sums=('5c6acbcc119ab680a32264c865ea70e1'
+ 'f9425b75de74d70497781f8c8448c27f'
+ '3b05d6069ddcff7dec9c3a216ae48825'
'd16ccc4f52eb0bc08893dc66a7caa154'
'dbdb6754a1f5b3ccf26321843a070406'
- 'd6feae0f2dd1b24a853d335da003cb51'
'f717c0a238353f443a6f0633a59ee8ca'
'194c8e20ad30973c32159cb23f3be4c9'
'2faaa79055263c1cdeeaa2896e641696'
@@ -671,6 +672,7 @@ md5sums=('f9425b75de74d70497781f8c8448c27f'
'9f86c3b9e6271cfc4440864a6857b256'
'b61fd5f488e44208fc97bfa6a274aebb'
'd4c38ce51fb9a69aa92ad9b9e0199122'
+ '7d28f804d6b74f9a22ad30d67af5a669'
'a687c26c262ccb9ad7cb54697a1476bc'
'8ef0e994f61bcd8d2188588f42805005'
'80920e501b9b87bfe587edff445e6efe'
@@ -682,6 +684,5 @@ md5sums=('f9425b75de74d70497781f8c8448c27f'
'bf58290793d3a095ef95fb1fac2de89a'
'de6db1147385c058b2e94df3c1739fdf'
'cb9384ce179d08be6c90df6d0a0977a1'
- '258c33888c85d1ecc0bbdf59c3a92895'
'9956af4381a21744369bf81d76d3142d'
'21c98f19e883879dd3336c1fa143fd31')
diff --git a/linux-cachyos-pds/.SRCINFO b/linux-cachyos-pds/.SRCINFO
index 75d3bac8..e43c890b 100644
--- a/linux-cachyos-pds/.SRCINFO
+++ b/linux-cachyos-pds/.SRCINFO
@@ -21,7 +21,7 @@ pkgbase = linux-cachyos-pds
options = !strip
source = https://git.kernel.org/torvalds/t/linux-5.16.tar.gz
source = config
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/sched/0001-pjrc.patch
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/sched/0001-prjc.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-MG-LRU-v6.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-amd64-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-sched-perf-fix.patch
@@ -35,6 +35,7 @@ pkgbase = linux-cachyos-pds
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-cfi.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-cpu.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-clearlinux.patch
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-page-table-check.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-f2fs-xfs-ext4-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-misc.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-fixes.patch
@@ -45,12 +46,11 @@ pkgbase = linux-cachyos-pds
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-zstd-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-zen-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-v4l2loopback.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/next/0002-mm-next.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/next/0003-folio-io.patch
source = auto-cpu-optimization.sh
md5sums = 5c6acbcc119ab680a32264c865ea70e1
md5sums = f9425b75de74d70497781f8c8448c27f
- md5sums = a457d94f835eb36ae4087b3646e1d4ef
+ md5sums = 3b05d6069ddcff7dec9c3a216ae48825
md5sums = d16ccc4f52eb0bc08893dc66a7caa154
md5sums = dbdb6754a1f5b3ccf26321843a070406
md5sums = d6feae0f2dd1b24a853d335da003cb51
@@ -64,6 +64,7 @@ pkgbase = linux-cachyos-pds
md5sums = b61fd5f488e44208fc97bfa6a274aebb
md5sums = d4c38ce51fb9a69aa92ad9b9e0199122
md5sums = a687c26c262ccb9ad7cb54697a1476bc
+ md5sums = 7d28f804d6b74f9a22ad30d67af5a669
md5sums = 8ef0e994f61bcd8d2188588f42805005
md5sums = 80920e501b9b87bfe587edff445e6efe
md5sums = f574f1c40fa2d07602e77418b863e144
@@ -74,7 +75,6 @@ pkgbase = linux-cachyos-pds
md5sums = bf58290793d3a095ef95fb1fac2de89a
md5sums = de6db1147385c058b2e94df3c1739fdf
md5sums = cb9384ce179d08be6c90df6d0a0977a1
- md5sums = 258c33888c85d1ecc0bbdf59c3a92895
md5sums = 9956af4381a21744369bf81d76d3142d
md5sums = 21c98f19e883879dd3336c1fa143fd31
diff --git a/linux-cachyos-pds/PKGBUILD b/linux-cachyos-pds/PKGBUILD
index 4af53909..a2a234ff 100644
--- a/linux-cachyos-pds/PKGBUILD
+++ b/linux-cachyos-pds/PKGBUILD
@@ -148,7 +148,7 @@ _patchsource="https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.
source=(
"https://git.kernel.org/torvalds/t/linux-${_stable}.tar.gz"
"config"
- "${_patchsource}/sched/0001-pjrc.patch"
+ "${_patchsource}/sched/0001-prjc.patch"
# "${_patchsource}/sched/0001-cacULE-5.16-full.patch"
# "${_patchsource}/sched/0001-bore-sched.patch"
# "${_patchsource}/sched/0001-tt.patch"
@@ -165,6 +165,7 @@ source=(
"${_patchsource}/0001-cfi.patch"
"${_patchsource}/0001-cpu.patch"
"${_patchsource}/0001-clearlinux.patch"
+ "${_patchsource}/0001-page-table-check.patch"
"${_patchsource}/0001-f2fs-xfs-ext4-patches.patch"
"${_patchsource}/0001-misc.patch"
"${_patchsource}/0001-fixes.patch"
@@ -175,7 +176,6 @@ source=(
"${_patchsource}/0001-zstd-patches.patch"
"${_patchsource}/0001-zen-patches.patch"
"${_patchsource}/0001-v4l2loopback.patch"
- "${_patchsource}/next/0002-mm-next.patch"
"${_patchsource}/next/0003-folio-io.patch"
"auto-cpu-optimization.sh"
)
@@ -659,7 +659,7 @@ done
md5sums=('5c6acbcc119ab680a32264c865ea70e1'
'f9425b75de74d70497781f8c8448c27f'
- 'a457d94f835eb36ae4087b3646e1d4ef'
+ '3b05d6069ddcff7dec9c3a216ae48825'
'd16ccc4f52eb0bc08893dc66a7caa154'
'dbdb6754a1f5b3ccf26321843a070406'
'd6feae0f2dd1b24a853d335da003cb51'
@@ -673,6 +673,7 @@ md5sums=('5c6acbcc119ab680a32264c865ea70e1'
'b61fd5f488e44208fc97bfa6a274aebb'
'd4c38ce51fb9a69aa92ad9b9e0199122'
'a687c26c262ccb9ad7cb54697a1476bc'
+ '7d28f804d6b74f9a22ad30d67af5a669'
'8ef0e994f61bcd8d2188588f42805005'
'80920e501b9b87bfe587edff445e6efe'
'f574f1c40fa2d07602e77418b863e144'
@@ -683,6 +684,5 @@ md5sums=('5c6acbcc119ab680a32264c865ea70e1'
'bf58290793d3a095ef95fb1fac2de89a'
'de6db1147385c058b2e94df3c1739fdf'
'cb9384ce179d08be6c90df6d0a0977a1'
- '258c33888c85d1ecc0bbdf59c3a92895'
'9956af4381a21744369bf81d76d3142d'
'21c98f19e883879dd3336c1fa143fd31')
diff --git a/linux-cachyos-rt/.SRCINFO b/linux-cachyos-rt/.SRCINFO
index 6cee0bf9..c182ec40 100644
--- a/linux-cachyos-rt/.SRCINFO
+++ b/linux-cachyos-rt/.SRCINFO
@@ -1,4 +1,4 @@
-pkgbase = linux-cachyos
+pkgbase = linux-cachyos-rt
pkgdesc = Linux CFS scheduler Kernel by CachyOS and with some other patches and other improvements
pkgver = 5.16.0
pkgrel = 2
@@ -21,18 +21,16 @@ pkgbase = linux-cachyos
options = !strip
source = https://git.kernel.org/torvalds/t/linux-5.16.tar.gz
source = config
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-5.16-rt14.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-MG-LRU-v6.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-amd64-patches.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-sched-perf-fix.patch
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/RT/0001-5.16-RT.patch
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/RT/0002-MG-LRU-v6-RT.patch
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/RT/0004-CFI-RT.patch
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/RT/0005-mm-next-rt.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-block-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-blk-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-pm.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-anbox.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-bbr2-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-btrfs.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-lrng.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-cfi.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-cpu.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-clearlinux.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-f2fs-xfs-ext4-patches.patch
@@ -41,27 +39,23 @@ pkgbase = linux-cachyos
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-futex-winesync.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-hwmon.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-ksmbd.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-rcu.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-zstd-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-zen-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-v4l2loopback.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/next/0002-mm-next.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/next/0003-folio-io.patch
source = auto-cpu-optimization.sh
md5sums = 5c6acbcc119ab680a32264c865ea70e1
- md5sums = f9425b75de74d70497781f8c8448c27f
- md5sums = 73423dff49884a7d301945f61cfd2296
- md5sums = d16ccc4f52eb0bc08893dc66a7caa154
- md5sums = dbdb6754a1f5b3ccf26321843a070406
- md5sums = d6feae0f2dd1b24a853d335da003cb51
+ md5sums = f8d7a1429f30756bee8583d7c59fd225
+ md5sums = 6723aa447f3897ed71e4464082dfa01d
+ md5sums = 254cdfbf39e2313408d8f729d5c49d57
+ md5sums = b6da8bb6dcb8952c409925462d46844d
+ md5sums = a0cd7013f0649a500fd3c01a899a7209
md5sums = f717c0a238353f443a6f0633a59ee8ca
md5sums = 194c8e20ad30973c32159cb23f3be4c9
md5sums = 2faaa79055263c1cdeeaa2896e641696
md5sums = 80e419d6847d4122a23a141fd3a40e52
md5sums = d194311161f8f44755e532db738f4a2d
md5sums = e9dff9b551b8fa7c0b47ae5ac0b16365
- md5sums = 9f86c3b9e6271cfc4440864a6857b256
- md5sums = b61fd5f488e44208fc97bfa6a274aebb
md5sums = d4c38ce51fb9a69aa92ad9b9e0199122
md5sums = a687c26c262ccb9ad7cb54697a1476bc
md5sums = 8ef0e994f61bcd8d2188588f42805005
@@ -70,15 +64,13 @@ pkgbase = linux-cachyos
md5sums = 28dcc1fe3029c6c316773bbcbe82954d
md5sums = 2160aabf2b9798907d36c4d246937d71
md5sums = 12ad5085b7f01793980f137f2c9451cb
- md5sums = 167a4267269e6a709c54e7b9ea8bf8d5
md5sums = bf58290793d3a095ef95fb1fac2de89a
md5sums = de6db1147385c058b2e94df3c1739fdf
md5sums = cb9384ce179d08be6c90df6d0a0977a1
- md5sums = 258c33888c85d1ecc0bbdf59c3a92895
md5sums = 9956af4381a21744369bf81d76d3142d
md5sums = 21c98f19e883879dd3336c1fa143fd31
-pkgname = linux-cachyos
+pkgname = linux-cachyos-rt
pkgdesc = The Linux CFS scheduler Kernel by CachyOS and with some other patches and other improvements kernel and modules
depends = coreutils
depends = kmod
@@ -89,7 +81,7 @@ pkgname = linux-cachyos
provides = VIRTUALBOX-GUEST-MODULES
provides = WIREGUARD-MODULE
-pkgname = linux-cachyos-headers
+pkgname = linux-cachyos-rt-headers
pkgdesc = Headers and scripts for building modules for the Linux CFS scheduler Kernel by CachyOS and with some other patches and other improvements
- depends = linux-cachyos=5.16.0
+ depends = linux-cachyos-rt=5.16.0
depends = pahole
diff --git a/linux-cachyos-rt/PKGBUILD b/linux-cachyos-rt/PKGBUILD
index c1974768..e52f8264 100644
--- a/linux-cachyos-rt/PKGBUILD
+++ b/linux-cachyos-rt/PKGBUILD
@@ -47,8 +47,8 @@ _use_current=
_winesync=y
### Running with a 1000HZ, 750Hz or 500HZ tick rate
-_1k_HZ_ticks=
-_750_HZ_ticks=y
+_1k_HZ_ticks=y
+_750_HZ_ticks=
_600_HZ_ticks=
_500_HZ_ticks=
@@ -71,7 +71,7 @@ _page_table_check=y
_damon=
### Enable Linux Random Number Generator
-_lrng_enable=y
+#_lrng_enable=y
## Apply Kernel automatic Optimization
_use_auto_optimization=y
@@ -117,9 +117,9 @@ _use_cfi=
if [ -n "$_use_llvm_lto" ]; then
- pkgbase=linux-cachyos-lto
+ pkgbase=linux-cachyos-rt-lto
else
- pkgbase=linux-cachyos
+ pkgbase=linux-cachyos-rt
fi
_major=5.16
_minor=0
@@ -154,18 +154,17 @@ source=(
# "${_patchsource}/sched/0001-cacULE-5.16-full.patch"
# "${_patchsource}/sched/0001-bore-sched.patch"
# "${_patchsource}/sched/0001-tt.patch"
- "${_patchsource}/0001-5.16-rt14.patch"
- "${_patchsource}/0001-MG-LRU-v6.patch"
- "${_patchsource}/0001-amd64-patches.patch"
- "${_patchsource}/0001-sched-perf-fix.patch"
+ "${_patchsource}/RT/0001-5.16-RT.patch"
+ "${_patchsource}/RT/0002-MG-LRU-v6-RT.patch"
+ # "${_patchsource}/RT/0003-RCU-NEXT-RT.patch"
+ "${_patchsource}/RT/0004-CFI-RT.patch"
+ "${_patchsource}/RT/0005-mm-next-rt.patch"
"${_patchsource}/0001-block-patches.patch"
"${_patchsource}/0001-blk-patches.patch"
"${_patchsource}/0001-pm.patch"
"${_patchsource}/0001-anbox.patch"
"${_patchsource}/0001-bbr2-patches.patch"
"${_patchsource}/0001-btrfs.patch"
- "${_patchsource}/0001-lrng.patch"
- "${_patchsource}/0001-cfi.patch"
"${_patchsource}/0001-cpu.patch"
"${_patchsource}/0001-clearlinux.patch"
"${_patchsource}/0001-f2fs-xfs-ext4-patches.patch"
@@ -174,15 +173,14 @@ source=(
"${_patchsource}/0001-futex-winesync.patch"
"${_patchsource}/0001-hwmon.patch"
"${_patchsource}/0001-ksmbd.patch"
- "${_patchsource}/0001-rcu.patch"
"${_patchsource}/0001-zstd-patches.patch"
"${_patchsource}/0001-zen-patches.patch"
"${_patchsource}/0001-v4l2loopback.patch"
- "${_patchsource}/next/0002-mm-next.patch"
"${_patchsource}/next/0003-folio-io.patch"
"auto-cpu-optimization.sh"
)
+
#if [ -n "$_use_pgo" ]; then
# source+=("${_patchsource}/0001-PGO.patch")
#fi
@@ -393,54 +391,6 @@ prepare() {
scripts/config --enable CONFIG_DAMON_RECLAIM
fi
- ### Enable Linux Random Number Generator
- if [ -n "$_lrng_enable" ]; then
- echo "Enabling Linux Random Number Generator ..."
- echo "Enabling Linux Random Number Generator with pfkernel config..."
- scripts/config --enable CONFIG_LRNG
- scripts/config --enable CONFIG_LRNG_OVERSAMPLE_ENTROPY_SOURCES
- scripts/config --set-val CONFIG_CONFIG_LRNG_OVERSAMPLE_ES_BITS 64
- scripts/config --set-val CONFIG_LRNG_SEED_BUFFER_INIT_ADD_BITS 128
- scripts/config --enable CONFIG_LRNG_IRQ
- scripts/config --enable CONFIG_LRNG_CONTINUOUS_COMPRESSION_ENABLED
- scripts/config --disable CONFIG_LRNG_CONTINUOUS_COMPRESSION_DISABLED
- scripts/config --enable CONFIG_LRNG_ENABLE_CONTINUOUS_COMPRESSION
- scripts/config --enable CONFIG_LRNG_SWITCHABLE_CONTINUOUS_COMPRESSION
- scripts/config --disable CONFIG_LRNG_COLLECTION_SIZE_512
- scripts/config --enable CONFIG_LRNG_COLLECTION_SIZE_1024
- scripts/config --disable CONFIG_LRNG_COLLECTION_SIZE_2048
- scripts/config --disable CONFIG_LRNG_COLLECTION_SIZE_4096
- scripts/config --disable CONFIG_LRNG_COLLECTION_SIZE_8192
- scripts/config --set-val CONFIG_LRNG_COLLECTION_SIZE 1024
- scripts/config --enable CONFIG_LRNG_HEALTH_TESTS
- scripts/config --set-val CONFIG_LRNG_RCT_CUTOFF 31
- scripts/config --set-val CONFIG_LRNG_APT_CUTOFF 325
- scripts/config --set-val CONFIG_LRNG_IRQ_ENTROPY_RATE 256
- scripts/config --enable CONFIG_LRNG_JENT
- scripts/config --set-val CONFIG_LRNG_JENT_ENTROPY_RATE 16
- scripts/config --enable CONFIG_LRNG_CPU
- scripts/config --set-val CONFIG_LRNG_CPU_ENTROPY_RATE 8
- scripts/config --enable CONFIG_LRNG_DRNG_SWITCH
- scripts/config --enable CONFIG_LRNG_KCAPI_HASH
- scripts/config --module CONFIG_LRNG_DRBG
- scripts/config --module CONFIG_LRNG_KCAPI
- scripts/config --enable CONFIG_LRNG_TESTING_MENU
- scripts/config --disable CONFIG_LRNG_RAW_HIRES_ENTROPY
- scripts/config --disable CONFIG_LRNG_RAW_JIFFIES_ENTROPY
- scripts/config --disable CONFIG_LRNG_RAW_IRQ_ENTROPY
- scripts/config --disable CONFIG_LRNG_RAW_IRQFLAGS_ENTROPY
- scripts/config --disable CONFIG_LRNG_RAW_RETIP_ENTROPY
- scripts/config --disable CONFIG_LRNG_RAW_REGS_ENTROPY
- scripts/config --disable CONFIG_LRNG_RAW_ARRAY
- scripts/config --disable CONFIG_LRNG_IRQ_PERF
- scripts/config --disable CONFIG_LRNG_ACVT_HASH
- scripts/config --enable CONFIG_LRNG_RUNTIME_ES_CONFIG
- scripts/config --disable CONFIG_LRNG_RUNTIME_MAX_WO_RESEED_CONFIG
- scripts/config --disable CONFIG_LRNG_TEST_CPU_ES_COMPRESSION
- scripts/config --enable CONFIG_LRNG_SELFTEST
- scripts/config --disable CONFIG_LRNG_SELFTEST_PANIC
- fi
-
### Selecting the ZSTD compression level
if [ "$_zstd_level" = "ultra" ]; then
echo "Enabling highest ZSTD compression ratio..."
@@ -661,19 +611,17 @@ done
md5sums=('5c6acbcc119ab680a32264c865ea70e1'
- 'f9425b75de74d70497781f8c8448c27f'
- '73423dff49884a7d301945f61cfd2296'
- 'd16ccc4f52eb0bc08893dc66a7caa154'
- 'dbdb6754a1f5b3ccf26321843a070406'
- 'd6feae0f2dd1b24a853d335da003cb51'
+ 'f8d7a1429f30756bee8583d7c59fd225'
+ '6723aa447f3897ed71e4464082dfa01d'
+ '254cdfbf39e2313408d8f729d5c49d57'
+ 'b6da8bb6dcb8952c409925462d46844d'
+ 'a0cd7013f0649a500fd3c01a899a7209'
'f717c0a238353f443a6f0633a59ee8ca'
'194c8e20ad30973c32159cb23f3be4c9'
'2faaa79055263c1cdeeaa2896e641696'
'80e419d6847d4122a23a141fd3a40e52'
'd194311161f8f44755e532db738f4a2d'
'e9dff9b551b8fa7c0b47ae5ac0b16365'
- '9f86c3b9e6271cfc4440864a6857b256'
- 'b61fd5f488e44208fc97bfa6a274aebb'
'd4c38ce51fb9a69aa92ad9b9e0199122'
'a687c26c262ccb9ad7cb54697a1476bc'
'8ef0e994f61bcd8d2188588f42805005'
@@ -682,10 +630,8 @@ md5sums=('5c6acbcc119ab680a32264c865ea70e1'
'28dcc1fe3029c6c316773bbcbe82954d'
'2160aabf2b9798907d36c4d246937d71'
'12ad5085b7f01793980f137f2c9451cb'
- '167a4267269e6a709c54e7b9ea8bf8d5'
'bf58290793d3a095ef95fb1fac2de89a'
'de6db1147385c058b2e94df3c1739fdf'
'cb9384ce179d08be6c90df6d0a0977a1'
- '258c33888c85d1ecc0bbdf59c3a92895'
'9956af4381a21744369bf81d76d3142d'
'21c98f19e883879dd3336c1fa143fd31')
diff --git a/linux-cachyos-rt/config b/linux-cachyos-rt/config
index ebe1d4b0..e2bf5b5f 100644
--- a/linux-cachyos-rt/config
+++ b/linux-cachyos-rt/config
@@ -7,9 +7,9 @@ CONFIG_CC_IS_GCC=y
CONFIG_GCC_VERSION=110201
CONFIG_CLANG_VERSION=0
CONFIG_AS_IS_GNU=y
-CONFIG_AS_VERSION=23601
+CONFIG_AS_VERSION=23700
CONFIG_LD_IS_BFD=y
-CONFIG_LD_VERSION=23601
+CONFIG_LD_VERSION=23700
CONFIG_LLD_VERSION=0
CONFIG_CC_CAN_LINK=y
CONFIG_CC_CAN_LINK_STATIC=y
@@ -20,6 +20,8 @@ CONFIG_CC_HAS_NO_PROFILE_FN_ATTR=y
CONFIG_IRQ_WORK=y
CONFIG_BUILDTIME_TABLE_SORT=y
CONFIG_THREAD_INFO_IN_TASK=y
+CONFIG_TT_SCHED=y
+CONFIG_TT_ACCOUNTING_STATS=y
#
# General setup
@@ -88,7 +90,6 @@ CONFIG_SPARSE_IRQ=y
# CONFIG_GENERIC_IRQ_DEBUGFS is not set
# end of IRQ subsystem
-
CONFIG_CLOCKSOURCE_WATCHDOG=y
CONFIG_ARCH_CLOCKSOURCE_INIT=y
CONFIG_CLOCKSOURCE_VALIDATE_LAST_CYCLE=y
@@ -106,8 +107,10 @@ CONFIG_POSIX_CPU_TIMERS_TASK_WORK=y
CONFIG_TICK_ONESHOT=y
CONFIG_NO_HZ_COMMON=y
# CONFIG_HZ_PERIODIC is not set
-CONFIG_NO_HZ_IDLE=y
-# CONFIG_NO_HZ_FULL is not set
+# CONFIG_NO_HZ_IDLE is not set
+CONFIG_NO_HZ_FULL=y
+CONFIG_CONTEXT_TRACKING=y
+# CONFIG_CONTEXT_TRACKING_FORCE is not set
CONFIG_NO_HZ=y
CONFIG_HIGH_RES_TIMERS=y
# end of Timers subsystem
@@ -124,22 +127,24 @@ CONFIG_BPF_JIT=y
CONFIG_BPF_JIT_ALWAYS_ON=y
CONFIG_BPF_JIT_DEFAULT_ON=y
CONFIG_BPF_UNPRIV_DEFAULT_OFF=y
+CONFIG_USERMODE_DRIVER=y
# CONFIG_BPF_PRELOAD is not set
-# CONFIG_BPF_LSM is not set
# end of BPF subsystem
-CONFIG_PREEMPT_VOLUNTARY_BUILD=y
+CONFIG_HAVE_PREEMPT_LAZY=y
+CONFIG_PREEMPT_LAZY=y
# CONFIG_PREEMPT_NONE is not set
-CONFIG_PREEMPT_VOLUNTARY=y
+# CONFIG_PREEMPT_VOLUNTARY is not set
# CONFIG_PREEMPT is not set
-# CONFIG_PREEMPT_DYNAMIC is not set
-# CONFIG_SCHED_CORE is not set
+CONFIG_PREEMPT_RT=y
+CONFIG_PREEMPT_COUNT=y
+CONFIG_PREEMPTION=y
#
# CPU/Task time and stats accounting
#
-CONFIG_TICK_CPU_ACCOUNTING=y
-# CONFIG_VIRT_CPU_ACCOUNTING_GEN is not set
+CONFIG_VIRT_CPU_ACCOUNTING=y
+CONFIG_VIRT_CPU_ACCOUNTING_GEN=y
CONFIG_IRQ_TIME_ACCOUNTING=y
CONFIG_HAVE_SCHED_AVG_IRQ=y
CONFIG_BSD_PROCESS_ACCT=y
@@ -158,20 +163,17 @@ CONFIG_CPU_ISOLATION=y
# RCU Subsystem
#
CONFIG_TREE_RCU=y
-CONFIG_RCU_EXPERT=y
+CONFIG_PREEMPT_RCU=y
+# CONFIG_RCU_EXPERT is not set
CONFIG_SRCU=y
CONFIG_TREE_SRCU=y
CONFIG_TASKS_RCU_GENERIC=y
CONFIG_TASKS_RCU=y
-CONFIG_TASKS_RUDE_RCU=y
CONFIG_TASKS_TRACE_RCU=y
CONFIG_RCU_STALL_COMMON=y
CONFIG_RCU_NEED_SEGCBLIST=y
-CONFIG_RCU_FANOUT=16
-CONFIG_RCU_FANOUT_LEAF=8
-CONFIG_RCU_FAST_NO_HZ=y
-# CONFIG_RCU_NOCB_CPU is not set
-# CONFIG_TASKS_TRACE_RCU_READ_MB is not set
+# CONFIG_RCU_BOOST is not set
+CONFIG_RCU_NOCB_CPU=y
# end of RCU Subsystem
CONFIG_BUILD_BIN2C=y