Skip to content

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

5.18-rc7-3

Peter Jung5e0baf4b12d7
diff --git a/linux-cachyos-rc/.SRCINFO b/linux-cachyos-rc/.SRCINFO
index c8e53551..d360857a 100755
--- a/linux-cachyos-rc/.SRCINFO
+++ b/linux-cachyos-rc/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = linux-cachyos-rc
pkgdesc = Linux CFS scheduler Kernel by CachyOS and with some other patches and other improvements
pkgver = 5.18.rc7
- pkgrel = 3
+ pkgrel = 4
url = https://github.com/CachyOS/linux-cachyos
arch = x86_64
arch = x86_64_v3
@@ -27,6 +27,7 @@ pkgbase = linux-cachyos-rc
source = https://github.com/torvalds/linux/archive/refs/tags/v5.18-rc7.tar.gz
source = config
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.18/sched/0001-bore-sched.patch
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.18/0001-amd-perf.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.18/0001-arch.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.18/0001-bbr2.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.18/0001-cachy.patch
@@ -37,28 +38,35 @@ pkgbase = linux-cachyos-rc
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.18/0001-fixes.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.18/0001-fs-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.18/0001-futex-winesync.patch
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.18/0001-hwmon.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.18/0001-kbuild.patch
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.18/0001-kcfi.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.18/0001-lrng.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.18/0001-lru-le9-spf.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.18/0001-amd-perf.patch
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.18/0001-migrate.patch
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.18/0001-randstruct.patch
source = auto-cpu-optimization.sh
sha256sums = da477700e2a5e91ae5b0a6f5c70b2618aab07aa39dcfe78106b9d742df411a24
sha256sums = 23c95af5f4377143592316f474ea64cd4194035c72b9a9a4c07cecdafb825383
sha256sums = e08fb439ba424c9c8db8f41fe9328dd3e30d4405094b6972dcce3863f04a9f46
+ sha256sums = fb32360e492ee63e87dcaeaab9fec75871480d20e6c24f74a8856585b2dc70aa
sha256sums = 2bfe45a67732a97cea01bf760a8f9fb297057c2488eb9e61720a0bb26c9b11e2
sha256sums = 56f58801a73e6d930d7680806dc734b50b69617a0eef96244627d7a946b62efd
- sha256sums = 64b67cdf8e76ec5694c0926bbad141f2ec26f5f8cadbe52ecb678c84fbff3af5
+ sha256sums = d5dbbe9a3a4d643fa0daa154dc8f3e5f42f3adc5c692f7272b0b62c5c98a1a67
sha256sums = 097e6faccc2dc15e7c02fc4e22616608c7d26e515a3580f3ef1a6a2ef705ef68
sha256sums = d6e9d3a5a87b4d43ceb4a415e9a15a949c755a2b65f9cf3dcc4bfac15a68af02
sha256sums = c2bf57d37db1f93c5f3eeff2e2957f01618f4786613c13755f9ae6989d2b745c
- sha256sums = afcb2cb90b275baf2adb67f8a9274f7f03b0f061f5b1d419b76640fb62a38b5c
+ sha256sums = 30fd4ca078cb1eee0bc4005700da4d15515a577ccdb96ea7922040aa9086d6b7
sha256sums = a54bb0fe432c787971d481f9b2fcf41b24c1f7242f6fbd44fa8894149b40b52b
- sha256sums = fdc1159967f6231395af4dc3f343f67591030bc8e016077d1fc205dd8ac0c60b
+ sha256sums = 9ea85b97b92c01a8d620a74ab3c375c5cb5017a8f3a5c9996bfff31997521f61
sha256sums = 67134052d1dc7332ba5a991ec54a2a957539bec4eb4a1a0ed0f0ad7daa8fe763
- sha256sums = 3f6dcb354c2beee82603d02ceb5a774aae73d1728be56e26e795e189587967da
- sha256sums = c096a4f069c9cfb4efeaa571bf33a4b31e9e8720d300bbe9de6a08b6ed4434e8
- sha256sums = 16d6ef4ec77e0e66ed2371deabe708f623db6e85b976306c4f67506d5180dd00
- sha256sums = fb32360e492ee63e87dcaeaab9fec75871480d20e6c24f74a8856585b2dc70aa
+ sha256sums = c1aae07261bafc711c2d66e26c2c30e444e11509cacc7aec148dc021761294cd
+ sha256sums = 4746c9b16f41403c78c6d20c8dc5d09f49dc8e0f73441faa260c1b6f022529aa
+ sha256sums = 7c2ffee8e2a983df812aacdae6db21337a883494e6ddb4f0bc48a6dd485411be
+ sha256sums = c8b76830adc1cbc82cc4d12859e4f4cc0006d90c9824296c8350fc6ace741ad9
+ sha256sums = 9d5556c194fe3dbd75125cd8e17e34cb6cc5b94d6ff24d596c52225c46fbf868
+ sha256sums = e8179f661dc9ba2ad89455f0c7e952e9dd9b4d6445476384cbac2730cdd46b65
+ sha256sums = b152bc0af497c3ac9fd9ee91140e753464306cd09b2abe458462fc88e703c25d
sha256sums = 65ec9ac5b8b28d5b61df1c72498059be2e7cb1f9b965bac0e4ffed3c05520b2b
pkgname = linux-cachyos-rc
diff --git a/linux-cachyos-rc/PKGBUILD b/linux-cachyos-rc/PKGBUILD
index 36d63804..ef45a360 100644
--- a/linux-cachyos-rc/PKGBUILD
+++ b/linux-cachyos-rc/PKGBUILD
@@ -19,7 +19,7 @@ _cpusched='bore'
# Set these variables to ANYTHING that is not null to enable them
### Tweak kernel options prior to a build via nconfig
-_makenconfig=y
+_makenconfig=
# NUMA is optimized for multi-socket motherboards.
# A single multi-core CPU actually runs slower with NUMA enabled.
@@ -120,7 +120,7 @@ _srcname=linux-${_stable}
#_srcname=linux-${_major}
arch=(x86_64 x86_64_v3)
pkgdesc='Linux CFS scheduler Kernel by CachyOS and with some other patches and other improvements'
-pkgrel=3
+pkgrel=4
arch=('x86_64' 'x86_64_v3')
url="https://github.com/CachyOS/linux-cachyos"
license=('GPL2')
@@ -158,6 +158,7 @@ if [ "$_cpusched" = "bore" ]; then
source+=("${_patchsource}/sched/0001-bore-sched.patch")
fi
source+=(
+ "${_patchsource}/0001-amd-perf.patch"
"${_patchsource}/0001-arch.patch"
"${_patchsource}/0001-bbr2.patch"
"${_patchsource}/0001-cachy.patch"
@@ -168,11 +169,14 @@ source+=(
"${_patchsource}/0001-fixes.patch"
"${_patchsource}/0001-fs-patches.patch"
"${_patchsource}/0001-futex-winesync.patch"
+ "${_patchsource}/0001-hwmon.patch"
"${_patchsource}/0001-kbuild.patch"
+ "${_patchsource}/0001-kcfi.patch"
+ # "${_patchsource}/0001-latency_nice.patch"
"${_patchsource}/0001-lrng.patch"
"${_patchsource}/0001-lru-le9-spf.patch"
- "${_patchsource}/0001-amd-perf.patch"
- # "${_patchsource}/0001-kcfi.patch"
+ "${_patchsource}/0001-migrate.patch"
+ "${_patchsource}/0001-randstruct.patch"
"auto-cpu-optimization.sh"
)
@@ -249,11 +253,11 @@ prepare() {
exit
fi
-# if [ -n "$_use_cfi" ] && [ -n "$_use_llvm_lto" ]; then
-# echo "Enabling CFI"
-# scripts/config --enable ARCH_SUPPORTS_CFI_CLANG \
-# --enable CFI_CLANG
-# fi
+ if [ -n "$_use_cfi" ]; then
+ echo "Enabling CFI"
+ scripts/config --enable ARCH_SUPPORTS_CFI_CLANG \
+ --enable CFI_CLANG
+ fi
if [ "$_use_llvm_lto" = "thin" ]; then
echo "Enabling LLVM THIN LTO..."
@@ -688,18 +692,22 @@ done
sha256sums=('da477700e2a5e91ae5b0a6f5c70b2618aab07aa39dcfe78106b9d742df411a24'
'23c95af5f4377143592316f474ea64cd4194035c72b9a9a4c07cecdafb825383'
'e08fb439ba424c9c8db8f41fe9328dd3e30d4405094b6972dcce3863f04a9f46'
+ 'fb32360e492ee63e87dcaeaab9fec75871480d20e6c24f74a8856585b2dc70aa'
'2bfe45a67732a97cea01bf760a8f9fb297057c2488eb9e61720a0bb26c9b11e2'
'56f58801a73e6d930d7680806dc734b50b69617a0eef96244627d7a946b62efd'
- '64b67cdf8e76ec5694c0926bbad141f2ec26f5f8cadbe52ecb678c84fbff3af5'
+ 'd5dbbe9a3a4d643fa0daa154dc8f3e5f42f3adc5c692f7272b0b62c5c98a1a67'
'097e6faccc2dc15e7c02fc4e22616608c7d26e515a3580f3ef1a6a2ef705ef68'
'd6e9d3a5a87b4d43ceb4a415e9a15a949c755a2b65f9cf3dcc4bfac15a68af02'
'c2bf57d37db1f93c5f3eeff2e2957f01618f4786613c13755f9ae6989d2b745c'
- 'afcb2cb90b275baf2adb67f8a9274f7f03b0f061f5b1d419b76640fb62a38b5c'
+ '30fd4ca078cb1eee0bc4005700da4d15515a577ccdb96ea7922040aa9086d6b7'
'a54bb0fe432c787971d481f9b2fcf41b24c1f7242f6fbd44fa8894149b40b52b'
- 'fdc1159967f6231395af4dc3f343f67591030bc8e016077d1fc205dd8ac0c60b'
+ '9ea85b97b92c01a8d620a74ab3c375c5cb5017a8f3a5c9996bfff31997521f61'
'67134052d1dc7332ba5a991ec54a2a957539bec4eb4a1a0ed0f0ad7daa8fe763'
- '3f6dcb354c2beee82603d02ceb5a774aae73d1728be56e26e795e189587967da'
- 'c096a4f069c9cfb4efeaa571bf33a4b31e9e8720d300bbe9de6a08b6ed4434e8'
- '16d6ef4ec77e0e66ed2371deabe708f623db6e85b976306c4f67506d5180dd00'
- 'fb32360e492ee63e87dcaeaab9fec75871480d20e6c24f74a8856585b2dc70aa'
+ 'c1aae07261bafc711c2d66e26c2c30e444e11509cacc7aec148dc021761294cd'
+ '4746c9b16f41403c78c6d20c8dc5d09f49dc8e0f73441faa260c1b6f022529aa'
+ '7c2ffee8e2a983df812aacdae6db21337a883494e6ddb4f0bc48a6dd485411be'
+ 'c8b76830adc1cbc82cc4d12859e4f4cc0006d90c9824296c8350fc6ace741ad9'
+ '9d5556c194fe3dbd75125cd8e17e34cb6cc5b94d6ff24d596c52225c46fbf868'
+ 'e8179f661dc9ba2ad89455f0c7e952e9dd9b4d6445476384cbac2730cdd46b65'
+ 'b152bc0af497c3ac9fd9ee91140e753464306cd09b2abe458462fc88e703c25d'
'65ec9ac5b8b28d5b61df1c72498059be2e7cb1f9b965bac0e4ffed3c05520b2b')