Archlinux Kernel based on different schedulers and some other performance improvements.
Shell archlinuxbaby-schedcachycachy-schedulercachyoscacule-schedkernellinux-kernelperformanceperformance-tuning
5.18.0-2
Peter Jungb461022e94fc
diff --git a/linux-bore/.SRCINFO b/linux-bore/.SRCINFOindex 679ec305..681610f4 100755--- a/linux-bore/.SRCINFO+++ b/linux-bore/.SRCINFO@@ -1,7 +1,7 @@pkgbase = linux-borepkgdesc = Linux BORE scheduler Kernel by CachyOS with other patches and improvementspkgver = 5.18.0- pkgrel = 1+ pkgrel = 2url = https://github.com/CachyOS/linux-cachyosarch = x86_64arch = x86_64_v3@@ -24,7 +24,7 @@ pkgbase = linux-boremakedepends = makemakedepends = patchoptions = !strip- source = https://github.com/torvalds/linux/archive/refs/tags/v5.18.tar.gz+ source = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.18.tar.xzsource = configsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.18/sched/0001-bore-sched.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.18/0001-amd-perf.patch@@ -47,7 +47,7 @@ pkgbase = linux-boresource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.18/0001-ksm.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.18/0001-zram-entropy-calculation.patchsource = auto-cpu-optimization.sh- sha256sums = 4037b6912e2b6c5102ce89840e32a16839dadd846ee3afdfb6704f44273b0c95+ sha256sums = 51f3f1684a896e797182a0907299cc1f0ff5e5b51dd9a55478ae63a409855ceesha256sums = 37ee10cdd091325b470ad6c0969d9e81deb8194f482d154efe97382afbd6e43asha256sums = e08fb439ba424c9c8db8f41fe9328dd3e30d4405094b6972dcce3863f04a9f46sha256sums = 9824cd3a41db040bf28d6538aa4805f869333139cbcf43e0422e1b42f5401270diff --git a/linux-bore/PKGBUILD b/linux-bore/PKGBUILDindex 25a5f56f..ed8955ff 100644--- a/linux-bore/PKGBUILD+++ b/linux-bore/PKGBUILD@@ -86,6 +86,9 @@ _use_auto_optimization=## Apply Kernel Optimization selecting_use_optimization_select=y+# disable debug to lower the size of the kernel+_disable_debug=y+## Enable zram/zswap ZSTD compression_zstd_compression=y@@ -126,7 +129,7 @@ _srcname=linux-${_stable}#_srcname=linux-${_major}arch=(x86_64 x86_64_v3)pkgdesc='Linux BORE scheduler Kernel by CachyOS with other patches and improvements'-pkgrel=1+pkgrel=2arch=('x86_64' 'x86_64_v3')url="https://github.com/CachyOS/linux-cachyos"license=('GPL2')@@ -143,9 +146,8 @@ if [ -n "$_use_llvm_lto" ]; thenfi_patchsource="https://raw.githubusercontent.com/ptr1337/kernel-patches/master/${_major}"source=(-"https://github.com/torvalds/linux/archive/refs/tags/v${_major}.tar.gz"-# "https://cdn.kernel.org/pub/linux/kernel/v${pkgver%%.*}.x/${_srcname}.tar.xz"-"config")+ "https://cdn.kernel.org/pub/linux/kernel/v${pkgver%%.*}.x/${_srcname}.tar.xz"+ "config")if [ "$_cpusched" = "bmq" ]; thensource+=("${_patchsource}/sched/0001-prjc.patch")fi@@ -516,6 +518,22 @@ prepare() {--set-str ZSWAP_COMPRESSOR_DEFAULT zstdfi+ if [ -n "$_disable_debug" ]; then+ scripts/config --disable DEBUG_INFO \+ --disable DEBUG_INFO_BTF \+ --disable DEBUG_INFO_DWARF4 \+ --disable PAHOLE_HAS_SPLIT_BTF \+ --disable DEBUG_INFO_BTF_MODULES \+ --disable SLUB_DEBUG \+ --disable PM_DEBUG \+ --disable PM_ADVANCED_DEBUG \+ --disable PM_SLEEP_DEBUG \+ --disable ACPI_DEBUG \+ --disable SCHED_DEBUG \+ --disable LATENCYTOP \+ --disable DEBUG_PREEMPT+ fi+echo "Enable ZRAM_ENTROPY"scripts/config --enable ZRAM_ENTROPYecho "Enable USER_NS_UNPRIVILEGED"@@ -692,7 +710,7 @@ for _p in "${pkgname[@]}"; do}"done-sha256sums=('4037b6912e2b6c5102ce89840e32a16839dadd846ee3afdfb6704f44273b0c95'+sha256sums=('51f3f1684a896e797182a0907299cc1f0ff5e5b51dd9a55478ae63a409855cee''37ee10cdd091325b470ad6c0969d9e81deb8194f482d154efe97382afbd6e43a''e08fb439ba424c9c8db8f41fe9328dd3e30d4405094b6972dcce3863f04a9f46''9824cd3a41db040bf28d6538aa4805f869333139cbcf43e0422e1b42f5401270'diff --git a/linux-cachyos-bmq/.SRCINFO b/linux-cachyos-bmq/.SRCINFOindex 7c1421c5..28c8bfeb 100755--- a/linux-cachyos-bmq/.SRCINFO+++ b/linux-cachyos-bmq/.SRCINFO@@ -1,7 +1,7 @@pkgbase = linux-cachyos-bmqpkgdesc = Linux BMQ scheduler Kernel by CachyOS with other patches and improvementspkgver = 5.18.0- pkgrel = 1+ pkgrel = 2url = https://github.com/CachyOS/linux-cachyosarch = x86_64arch = x86_64_v3@@ -24,7 +24,7 @@ pkgbase = linux-cachyos-bmqmakedepends = makemakedepends = patchoptions = !strip- source = https://github.com/torvalds/linux/archive/refs/tags/v5.18.tar.gz+ source = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.18.tar.xzsource = configsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.18/sched/0001-prjc.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.18/0001-amd-perf.patch@@ -44,7 +44,7 @@ pkgbase = linux-cachyos-bmqsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.18/0001-ksm.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.18/0001-zram-entropy-calculation.patchsource = auto-cpu-optimization.sh- sha256sums = 4037b6912e2b6c5102ce89840e32a16839dadd846ee3afdfb6704f44273b0c95+ sha256sums = 51f3f1684a896e797182a0907299cc1f0ff5e5b51dd9a55478ae63a409855ceesha256sums = 37ee10cdd091325b470ad6c0969d9e81deb8194f482d154efe97382afbd6e43asha256sums = 7679a8d3ccb761f00203a12b24a0d17016031b72a6cd71e2e25cc0249a7185fasha256sums = 9824cd3a41db040bf28d6538aa4805f869333139cbcf43e0422e1b42f5401270diff --git a/linux-cachyos-bmq/PKGBUILD b/linux-cachyos-bmq/PKGBUILDindex 5afd80af..1f1dac35 100644--- a/linux-cachyos-bmq/PKGBUILD+++ b/linux-cachyos-bmq/PKGBUILD@@ -85,6 +85,9 @@ _use_auto_optimization=## Apply Kernel Optimization selecting_use_optimization_select=y+# disable debug to lower the size of the kernel+_disable_debug=y+## Enable zram/zswap ZSTD compression_zstd_compression=y@@ -125,7 +128,7 @@ _srcname=linux-${_stable}#_srcname=linux-${_major}arch=(x86_64 x86_64_v3)pkgdesc='Linux BMQ scheduler Kernel by CachyOS with other patches and improvements'-pkgrel=1+pkgrel=2arch=('x86_64' 'x86_64_v3')url="https://github.com/CachyOS/linux-cachyos"license=('GPL2')@@ -142,9 +145,8 @@ if [ -n "$_use_llvm_lto" ]; thenfi_patchsource="https://raw.githubusercontent.com/ptr1337/kernel-patches/master/${_major}"source=(-"https://github.com/torvalds/linux/archive/refs/tags/v${_major}.tar.gz"-# "https://cdn.kernel.org/pub/linux/kernel/v${pkgver%%.*}.x/${_srcname}.tar.xz"-"config")+ "https://cdn.kernel.org/pub/linux/kernel/v${pkgver%%.*}.x/${_srcname}.tar.xz"+ "config")if [ "$_cpusched" = "bmq" ]; thensource+=("${_patchsource}/sched/0001-prjc.patch")fi@@ -508,6 +510,22 @@ prepare() {--set-str ZSWAP_COMPRESSOR_DEFAULT zstdfi+ if [ -n "$_disable_debug" ]; then+ scripts/config --disable DEBUG_INFO \+ --disable DEBUG_INFO_BTF \+ --disable DEBUG_INFO_DWARF4 \+ --disable PAHOLE_HAS_SPLIT_BTF \+ --disable DEBUG_INFO_BTF_MODULES \+ --disable SLUB_DEBUG \+ --disable PM_DEBUG \+ --disable PM_ADVANCED_DEBUG \+ --disable PM_SLEEP_DEBUG \+ --disable ACPI_DEBUG \+ --disable SCHED_DEBUG \+ --disable LATENCYTOP \+ --disable DEBUG_PREEMPT+ fi+echo "Enable ZRAM_ENTROPY"scripts/config --enable ZRAM_ENTROPYecho "Enable USER_NS_UNPRIVILEGED"@@ -684,7 +702,7 @@ for _p in "${pkgname[@]}"; do}"done-sha256sums=('4037b6912e2b6c5102ce89840e32a16839dadd846ee3afdfb6704f44273b0c95'+sha256sums=('51f3f1684a896e797182a0907299cc1f0ff5e5b51dd9a55478ae63a409855cee''37ee10cdd091325b470ad6c0969d9e81deb8194f482d154efe97382afbd6e43a''7679a8d3ccb761f00203a12b24a0d17016031b72a6cd71e2e25cc0249a7185fa''9824cd3a41db040bf28d6538aa4805f869333139cbcf43e0422e1b42f5401270'diff --git a/linux-cachyos-bore/.SRCINFO b/linux-cachyos-bore/.SRCINFOindex 8b171e14..44296b3c 100755--- a/linux-cachyos-bore/.SRCINFO+++ b/linux-cachyos-bore/.SRCINFO@@ -1,7 +1,7 @@pkgbase = linux-cachyos-borepkgdesc = Linux BORE scheduler Kernel by CachyOS with other patches and improvementspkgver = 5.18.0- pkgrel = 1+ pkgrel = 2url = https://github.com/CachyOS/linux-cachyosarch = x86_64arch = x86_64_v3@@ -24,7 +24,7 @@ pkgbase = linux-cachyos-boremakedepends = makemakedepends = patchoptions = !strip- source = https://github.com/torvalds/linux/archive/refs/tags/v5.18.tar.gz+ source = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.18.tar.xzsource = configsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.18/sched/0001-bore-sched.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.18/0001-amd-perf.patch@@ -47,7 +47,7 @@ pkgbase = linux-cachyos-boresource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.18/0001-ksm.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.18/0001-zram-entropy-calculation.patchsource = auto-cpu-optimization.sh- sha256sums = 4037b6912e2b6c5102ce89840e32a16839dadd846ee3afdfb6704f44273b0c95+ sha256sums = 51f3f1684a896e797182a0907299cc1f0ff5e5b51dd9a55478ae63a409855ceesha256sums = 37ee10cdd091325b470ad6c0969d9e81deb8194f482d154efe97382afbd6e43asha256sums = e08fb439ba424c9c8db8f41fe9328dd3e30d4405094b6972dcce3863f04a9f46sha256sums = 9824cd3a41db040bf28d6538aa4805f869333139cbcf43e0422e1b42f5401270diff --git a/linux-cachyos-bore/PKGBUILD b/linux-cachyos-bore/PKGBUILDindex c9d0470b..a3856d23 100644--- a/linux-cachyos-bore/PKGBUILD+++ b/linux-cachyos-bore/PKGBUILD@@ -85,6 +85,9 @@ _use_auto_optimization=## Apply Kernel Optimization selecting_use_optimization_select=y+# disable debug to lower the size of the kernel+_disable_debug=y+## Enable zram/zswap ZSTD compression_zstd_compression=y@@ -125,7 +128,7 @@ _srcname=linux-${_stable}#_srcname=linux-${_major}arch=(x86_64 x86_64_v3)pkgdesc='Linux BORE scheduler Kernel by CachyOS with other patches and improvements'-pkgrel=1+pkgrel=2arch=('x86_64' 'x86_64_v3')url="https://github.com/CachyOS/linux-cachyos"license=('GPL2')@@ -142,9 +145,8 @@ if [ -n "$_use_llvm_lto" ]; thenfi_patchsource="https://raw.githubusercontent.com/ptr1337/kernel-patches/master/${_major}"source=(-"https://github.com/torvalds/linux/archive/refs/tags/v${_major}.tar.gz"-# "https://cdn.kernel.org/pub/linux/kernel/v${pkgver%%.*}.x/${_srcname}.tar.xz"-"config")+ "https://cdn.kernel.org/pub/linux/kernel/v${pkgver%%.*}.x/${_srcname}.tar.xz"+ "config")if [ "$_cpusched" = "bmq" ]; thensource+=("${_patchsource}/sched/0001-prjc.patch")fi@@ -508,6 +510,22 @@ prepare() {--set-str ZSWAP_COMPRESSOR_DEFAULT zstdfi+ if [ -n "$_disable_debug" ]; then+ scripts/config --disable DEBUG_INFO \+ --disable DEBUG_INFO_BTF \+ --disable DEBUG_INFO_DWARF4 \+ --disable PAHOLE_HAS_SPLIT_BTF \+ --disable DEBUG_INFO_BTF_MODULES \+ --disable SLUB_DEBUG \+ --disable PM_DEBUG \+ --disable PM_ADVANCED_DEBUG \+ --disable PM_SLEEP_DEBUG \+ --disable ACPI_DEBUG \+ --disable SCHED_DEBUG \+ --disable LATENCYTOP \+ --disable DEBUG_PREEMPT+ fi+echo "Enable ZRAM_ENTROPY"scripts/config --enable ZRAM_ENTROPYecho "Enable USER_NS_UNPRIVILEGED"@@ -684,7 +702,7 @@ for _p in "${pkgname[@]}"; do}"done-sha256sums=('4037b6912e2b6c5102ce89840e32a16839dadd846ee3afdfb6704f44273b0c95'+sha256sums=('51f3f1684a896e797182a0907299cc1f0ff5e5b51dd9a55478ae63a409855cee''37ee10cdd091325b470ad6c0969d9e81deb8194f482d154efe97382afbd6e43a''e08fb439ba424c9c8db8f41fe9328dd3e30d4405094b6972dcce3863f04a9f46''9824cd3a41db040bf28d6538aa4805f869333139cbcf43e0422e1b42f5401270'diff --git a/linux-cachyos-cacule/.SRCINFO b/linux-cachyos-cacule/.SRCINFOindex 21553f80..2fd1350b 100755--- a/linux-cachyos-cacule/.SRCINFO+++ b/linux-cachyos-cacule/.SRCINFO@@ -1,7 +1,7 @@pkgbase = linux-cachyos-caculepkgdesc = Linux cacULE scheduler Kernel by CachyOS with other patches and improvementspkgver = 5.18.0- pkgrel = 1+ pkgrel = 2url = https://github.com/CachyOS/linux-cachyosarch = x86_64arch = x86_64_v3@@ -24,7 +24,7 @@ pkgbase = linux-cachyos-caculemakedepends = makemakedepends = patchoptions = !strip- source = https://github.com/torvalds/linux/archive/refs/tags/v5.18.tar.gz+ source = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.18.tar.xzsource = configsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.18/sched/0001-cacULE-5.18.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.18/0001-amd-perf.patch@@ -45,7 +45,7 @@ pkgbase = linux-cachyos-caculesource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.18/0001-ksm.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.18/0001-zram-entropy-calculation.patchsource = auto-cpu-optimization.sh- sha256sums = 4037b6912e2b6c5102ce89840e32a16839dadd846ee3afdfb6704f44273b0c95+ sha256sums = 51f3f1684a896e797182a0907299cc1f0ff5e5b51dd9a55478ae63a409855ceesha256sums = 37ee10cdd091325b470ad6c0969d9e81deb8194f482d154efe97382afbd6e43asha256sums = bc7d00587607fbb2e5ad00d727ffe4e1a021322b1bdbd7c2611a4f0eead39d59sha256sums = 9824cd3a41db040bf28d6538aa4805f869333139cbcf43e0422e1b42f5401270diff --git a/linux-cachyos-cacule/PKGBUILD b/linux-cachyos-cacule/PKGBUILDindex bca4a4a0..0b46e564 100644--- a/linux-cachyos-cacule/PKGBUILD+++ b/linux-cachyos-cacule/PKGBUILD@@ -85,6 +85,9 @@ _use_auto_optimization=## Apply Kernel Optimization selecting_use_optimization_select=y+# disable debug to lower the size of the kernel+_disable_debug=y+## Enable zram/zswap ZSTD compression_zstd_compression=y@@ -125,7 +128,7 @@ _srcname=linux-${_stable}#_srcname=linux-${_major}arch=(x86_64 x86_64_v3)pkgdesc='Linux cacULE scheduler Kernel by CachyOS with other patches and improvements'-pkgrel=1+pkgrel=2arch=('x86_64' 'x86_64_v3')url="https://github.com/CachyOS/linux-cachyos"license=('GPL2')@@ -142,9 +145,8 @@ if [ -n "$_use_llvm_lto" ]; thenfi_patchsource="https://raw.githubusercontent.com/ptr1337/kernel-patches/master/${_major}"source=(-"https://github.com/torvalds/linux/archive/refs/tags/v${_major}.tar.gz"-# "https://cdn.kernel.org/pub/linux/kernel/v${pkgver%%.*}.x/${_srcname}.tar.xz"-"config")+ "https://cdn.kernel.org/pub/linux/kernel/v${pkgver%%.*}.x/${_srcname}.tar.xz"+ "config")if [ "$_cpusched" = "bmq" ]; thensource+=("${_patchsource}/sched/0001-prjc.patch")fi@@ -508,6 +510,22 @@ prepare() {--set-str ZSWAP_COMPRESSOR_DEFAULT zstdfi+ if [ -n "$_disable_debug" ]; then+ scripts/config --disable DEBUG_INFO \+ --disable DEBUG_INFO_BTF \+ --disable DEBUG_INFO_DWARF4 \+ --disable PAHOLE_HAS_SPLIT_BTF \+ --disable DEBUG_INFO_BTF_MODULES \+ --disable SLUB_DEBUG \+ --disable PM_DEBUG \+ --disable PM_ADVANCED_DEBUG \+ --disable PM_SLEEP_DEBUG \+ --disable ACPI_DEBUG \+ --disable SCHED_DEBUG \+ --disable LATENCYTOP \+ --disable DEBUG_PREEMPT+ fi+echo "Enable ZRAM_ENTROPY"scripts/config --enable ZRAM_ENTROPYecho "Enable USER_NS_UNPRIVILEGED"@@ -684,7 +702,7 @@ for _p in "${pkgname[@]}"; do}"done-sha256sums=('4037b6912e2b6c5102ce89840e32a16839dadd846ee3afdfb6704f44273b0c95'+sha256sums=('51f3f1684a896e797182a0907299cc1f0ff5e5b51dd9a55478ae63a409855cee''37ee10cdd091325b470ad6c0969d9e81deb8194f482d154efe97382afbd6e43a''bc7d00587607fbb2e5ad00d727ffe4e1a021322b1bdbd7c2611a4f0eead39d59''9824cd3a41db040bf28d6538aa4805f869333139cbcf43e0422e1b42f5401270'diff --git a/linux-cachyos-cfs/.SRCINFO b/linux-cachyos-cfs/.SRCINFOindex e90ea616..3440efb2 100755--- a/linux-cachyos-cfs/.SRCINFO+++ b/linux-cachyos-cfs/.SRCINFO@@ -1,7 +1,7 @@pkgbase = linux-cachyos-cfspkgdesc = Linux CFS scheduler Kernel by CachyOS with other patches and improvementspkgver = 5.18.0- pkgrel = 1+ pkgrel = 2url = https://github.com/CachyOS/linux-cachyosarch = x86_64arch = x86_64_v3@@ -24,7 +24,7 @@ pkgbase = linux-cachyos-cfsmakedepends = makemakedepends = patchoptions = !strip- source = https://github.com/torvalds/linux/archive/refs/tags/v5.18.tar.gz+ source = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.18.tar.xzsource = configsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.18/0001-amd-perf.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.18/0001-arch.patch@@ -46,7 +46,7 @@ pkgbase = linux-cachyos-cfssource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.18/0001-ksm.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.18/0001-zram-entropy-calculation.patchsource = auto-cpu-optimization.sh- sha256sums = 4037b6912e2b6c5102ce89840e32a16839dadd846ee3afdfb6704f44273b0c95+ sha256sums = 51f3f1684a896e797182a0907299cc1f0ff5e5b51dd9a55478ae63a409855ceesha256sums = 37ee10cdd091325b470ad6c0969d9e81deb8194f482d154efe97382afbd6e43asha256sums = 9824cd3a41db040bf28d6538aa4805f869333139cbcf43e0422e1b42f5401270sha256sums = 2bfe45a67732a97cea01bf760a8f9fb297057c2488eb9e61720a0bb26c9b11e2diff --git a/linux-cachyos-cfs/PKGBUILD b/linux-cachyos-cfs/PKGBUILDindex 7c4f25e1..59ff8ae6 100644--- a/linux-cachyos-cfs/PKGBUILD+++ b/linux-cachyos-cfs/PKGBUILD@@ -85,6 +85,9 @@ _use_auto_optimization=## Apply Kernel Optimization selecting_use_optimization_select=y+# disable debug to lower the size of the kernel+_disable_debug=y+## Enable zram/zswap ZSTD compression_zstd_compression=y@@ -125,7 +128,7 @@ _srcname=linux-${_stable}#_srcname=linux-${_major}arch=(x86_64 x86_64_v3)pkgdesc='Linux CFS scheduler Kernel by CachyOS with other patches and improvements'-pkgrel=1+pkgrel=2arch=('x86_64' 'x86_64_v3')url="https://github.com/CachyOS/linux-cachyos"license=('GPL2')@@ -142,9 +145,8 @@ if [ -n "$_use_llvm_lto" ]; thenfi_patchsource="https://raw.githubusercontent.com/ptr1337/kernel-patches/master/${_major}"source=(-"https://github.com/torvalds/linux/archive/refs/tags/v${_major}.tar.gz"-# "https://cdn.kernel.org/pub/linux/kernel/v${pkgver%%.*}.x/${_srcname}.tar.xz"-"config")+ "https://cdn.kernel.org/pub/linux/kernel/v${pkgver%%.*}.x/${_srcname}.tar.xz"+ "config")if [ "$_cpusched" = "bmq" ]; thensource+=("${_patchsource}/sched/0001-prjc.patch")fi@@ -508,6 +510,22 @@ prepare() {--set-str ZSWAP_COMPRESSOR_DEFAULT zstdfi+ if [ -n "$_disable_debug" ]; then+ scripts/config --disable DEBUG_INFO \+ --disable DEBUG_INFO_BTF \+ --disable DEBUG_INFO_DWARF4 \+ --disable PAHOLE_HAS_SPLIT_BTF \+ --disable DEBUG_INFO_BTF_MODULES \+ --disable SLUB_DEBUG \+ --disable PM_DEBUG \+ --disable PM_ADVANCED_DEBUG \+ --disable PM_SLEEP_DEBUG \+ --disable ACPI_DEBUG \+ --disable SCHED_DEBUG \+ --disable LATENCYTOP \+ --disable DEBUG_PREEMPT+ fi+echo "Enable ZRAM_ENTROPY"scripts/config --enable ZRAM_ENTROPYecho "Enable USER_NS_UNPRIVILEGED"@@ -684,7 +702,7 @@ for _p in "${pkgname[@]}"; do}"done-sha256sums=('4037b6912e2b6c5102ce89840e32a16839dadd846ee3afdfb6704f44273b0c95'+sha256sums=('51f3f1684a896e797182a0907299cc1f0ff5e5b51dd9a55478ae63a409855cee''37ee10cdd091325b470ad6c0969d9e81deb8194f482d154efe97382afbd6e43a''9824cd3a41db040bf28d6538aa4805f869333139cbcf43e0422e1b42f5401270''2bfe45a67732a97cea01bf760a8f9fb297057c2488eb9e61720a0bb26c9b11e2'diff --git a/linux-cachyos-pds/.SRCINFO b/linux-cachyos-pds/.SRCINFOindex 901e316d..07c06ca3 100755--- a/linux-cachyos-pds/.SRCINFO+++ b/linux-cachyos-pds/.SRCINFO@@ -1,7 +1,7 @@pkgbase = linux-cachyos-pdspkgdesc = Linux PDS scheduler Kernel by CachyOS with other patches and improvementspkgver = 5.18.0- pkgrel = 1+ pkgrel = 2url = https://github.com/CachyOS/linux-cachyosarch = x86_64arch = x86_64_v3@@ -24,7 +24,7 @@ pkgbase = linux-cachyos-pdsmakedepends = makemakedepends = patchoptions = !strip- source = https://github.com/torvalds/linux/archive/refs/tags/v5.18.tar.gz+ source = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.18.tar.xzsource = configsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.18/sched/0001-prjc.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.18/0001-amd-perf.patch@@ -44,7 +44,7 @@ pkgbase = linux-cachyos-pdssource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.18/0001-ksm.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.18/0001-zram-entropy-calculation.patchsource = auto-cpu-optimization.sh- sha256sums = 4037b6912e2b6c5102ce89840e32a16839dadd846ee3afdfb6704f44273b0c95+ sha256sums = 51f3f1684a896e797182a0907299cc1f0ff5e5b51dd9a55478ae63a409855ceesha256sums = 37ee10cdd091325b470ad6c0969d9e81deb8194f482d154efe97382afbd6e43asha256sums = 7679a8d3ccb761f00203a12b24a0d17016031b72a6cd71e2e25cc0249a7185fasha256sums = 9824cd3a41db040bf28d6538aa4805f869333139cbcf43e0422e1b42f5401270diff --git a/linux-cachyos-pds/PKGBUILD b/linux-cachyos-pds/PKGBUILDindex f4a56a48..25809009 100644--- a/linux-cachyos-pds/PKGBUILD+++ b/linux-cachyos-pds/PKGBUILD@@ -85,6 +85,9 @@ _use_auto_optimization=## Apply Kernel Optimization selecting_use_optimization_select=y+# disable debug to lower the size of the kernel+_disable_debug=y+## Enable zram/zswap ZSTD compression_zstd_compression=y@@ -125,7 +128,7 @@ _srcname=linux-${_stable}#_srcname=linux-${_major}arch=(x86_64 x86_64_v3)pkgdesc='Linux PDS scheduler Kernel by CachyOS with other patches and improvements'-pkgrel=1+pkgrel=2arch=('x86_64' 'x86_64_v3')url="https://github.com/CachyOS/linux-cachyos"license=('GPL2')@@ -142,9 +145,8 @@ if [ -n "$_use_llvm_lto" ]; thenfi_patchsource="https://raw.githubusercontent.com/ptr1337/kernel-patches/master/${_major}"source=(-"https://github.com/torvalds/linux/archive/refs/tags/v${_major}.tar.gz"-# "https://cdn.kernel.org/pub/linux/kernel/v${pkgver%%.*}.x/${_srcname}.tar.xz"-"config")+ "https://cdn.kernel.org/pub/linux/kernel/v${pkgver%%.*}.x/${_srcname}.tar.xz"+ "config")if [ "$_cpusched" = "bmq" ]; thensource+=("${_patchsource}/sched/0001-prjc.patch")fi@@ -508,6 +510,22 @@ prepare() {--set-str ZSWAP_COMPRESSOR_DEFAULT zstdfi+ if [ -n "$_disable_debug" ]; then+ scripts/config --disable DEBUG_INFO \+ --disable DEBUG_INFO_BTF \+ --disable DEBUG_INFO_DWARF4 \+ --disable PAHOLE_HAS_SPLIT_BTF \+ --disable DEBUG_INFO_BTF_MODULES \ \+ --disable SLUB_DEBUG \+ --disable PM_DEBUG \+ --disable PM_ADVANCED_DEBUG \+ --disable PM_SLEEP_DEBUG \+ --disable ACPI_DEBUG \+ --disable SCHED_DEBUG \+ --disable LATENCYTOP \+ --disable DEBUG_PREEMPT+ fi+echo "Enable ZRAM_ENTROPY"scripts/config --enable ZRAM_ENTROPYecho "Enable USER_NS_UNPRIVILEGED"@@ -684,7 +702,7 @@ for _p in "${pkgname[@]}"; do}"done-sha256sums=('4037b6912e2b6c5102ce89840e32a16839dadd846ee3afdfb6704f44273b0c95'+sha256sums=('51f3f1684a896e797182a0907299cc1f0ff5e5b51dd9a55478ae63a409855cee''37ee10cdd091325b470ad6c0969d9e81deb8194f482d154efe97382afbd6e43a''7679a8d3ccb761f00203a12b24a0d17016031b72a6cd71e2e25cc0249a7185fa''9824cd3a41db040bf28d6538aa4805f869333139cbcf43e0422e1b42f5401270'diff --git a/linux-cachyos/.SRCINFO b/linux-cachyos/.SRCINFOindex 944a66b0..0321c63a 100755--- a/linux-cachyos/.SRCINFO+++ b/linux-cachyos/.SRCINFO@@ -1,7 +1,7 @@pkgbase = linux-cachyospkgdesc = Linux BORE scheduler Kernel by CachyOS with other patches and improvementspkgver = 5.18.0- pkgrel = 1+ pkgrel = 2url = https://github.com/CachyOS/linux-cachyosarch = x86_64arch = x86_64_v3@@ -24,7 +24,7 @@ pkgbase = linux-cachyosmakedepends = makemakedepends = patchoptions = !strip- source = https://github.com/torvalds/linux/archive/refs/tags/v5.18.tar.gz+ source = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.18.tar.xzsource = configsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.18/sched/0001-bore-sched.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.18/0001-amd-perf.patch@@ -47,7 +47,7 @@ pkgbase = linux-cachyossource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.18/0001-ksm.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.18/0001-zram-entropy-calculation.patchsource = auto-cpu-optimization.sh- sha256sums = 4037b6912e2b6c5102ce89840e32a16839dadd846ee3afdfb6704f44273b0c95+ sha256sums = 51f3f1684a896e797182a0907299cc1f0ff5e5b51dd9a55478ae63a409855ceesha256sums = 37ee10cdd091325b470ad6c0969d9e81deb8194f482d154efe97382afbd6e43asha256sums = e08fb439ba424c9c8db8f41fe9328dd3e30d4405094b6972dcce3863f04a9f46sha256sums = 9824cd3a41db040bf28d6538aa4805f869333139cbcf43e0422e1b42f5401270diff --git a/linux-cachyos/PKGBUILD b/linux-cachyos/PKGBUILDindex e44c9283..6751ac0a 100644--- a/linux-cachyos/PKGBUILD+++ b/linux-cachyos/PKGBUILD@@ -85,6 +85,9 @@ _use_auto_optimization=## Apply Kernel Optimization selecting_use_optimization_select=y+# disable debug to lower the size of the kernel+_disable_debug=y+## Enable zram/zswap ZSTD compression_zstd_compression=y@@ -125,7 +128,7 @@ _srcname=linux-${_stable}#_srcname=linux-${_major}arch=(x86_64 x86_64_v3)pkgdesc='Linux BORE scheduler Kernel by CachyOS with other patches and improvements'-pkgrel=1+pkgrel=2arch=('x86_64' 'x86_64_v3')url="https://github.com/CachyOS/linux-cachyos"license=('GPL2')@@ -142,9 +145,8 @@ if [ -n "$_use_llvm_lto" ]; thenfi_patchsource="https://raw.githubusercontent.com/ptr1337/kernel-patches/master/${_major}"source=(-"https://github.com/torvalds/linux/archive/refs/tags/v${_major}.tar.gz"-# "https://cdn.kernel.org/pub/linux/kernel/v${pkgver%%.*}.x/${_srcname}.tar.xz"-"config")+ "https://cdn.kernel.org/pub/linux/kernel/v${pkgver%%.*}.x/${_srcname}.tar.xz"+ "config")if [ "$_cpusched" = "bmq" ]; thensource+=("${_patchsource}/sched/0001-prjc.patch")fi@@ -508,6 +510,22 @@ prepare() {--set-str ZSWAP_COMPRESSOR_DEFAULT zstdfi+ if [ -n "$_disable_debug" ]; then+ scripts/config --disable DEBUG_INFO \+ --disable DEBUG_INFO_BTF \+ --disable DEBUG_INFO_DWARF4 \+ --disable PAHOLE_HAS_SPLIT_BTF \+ --disable DEBUG_INFO_BTF_MODULES \+ --disable SLUB_DEBUG \+ --disable PM_DEBUG \+ --disable PM_ADVANCED_DEBUG \+ --disable PM_SLEEP_DEBUG \+ --disable ACPI_DEBUG \+ --disable SCHED_DEBUG \+ --disable LATENCYTOP \+ --disable DEBUG_PREEMPT+ fi+echo "Enable ZRAM_ENTROPY"scripts/config --enable ZRAM_ENTROPYecho "Enable USER_NS_UNPRIVILEGED"@@ -684,7 +702,7 @@ for _p in "${pkgname[@]}"; do}"done-sha256sums=('4037b6912e2b6c5102ce89840e32a16839dadd846ee3afdfb6704f44273b0c95'+sha256sums=('51f3f1684a896e797182a0907299cc1f0ff5e5b51dd9a55478ae63a409855cee''37ee10cdd091325b470ad6c0969d9e81deb8194f482d154efe97382afbd6e43a''e08fb439ba424c9c8db8f41fe9328dd3e30d4405094b6972dcce3863f04a9f46''9824cd3a41db040bf28d6538aa4805f869333139cbcf43e0422e1b42f5401270'diff --git a/linux-cacule-rdb/.SRCINFO b/linux-cacule-rdb/.SRCINFOindex bb09ab01..81bf0b5e 100755--- a/linux-cacule-rdb/.SRCINFO+++ b/linux-cacule-rdb/.SRCINFO@@ -1,7 +1,7 @@pkgbase = linux-cacule-rdbpkgdesc = Linux cacULE-RDB scheduler Kernel by CachyOS with other patches and improvementspkgver = 5.18.0- pkgrel = 1+ pkgrel = 2url = https://github.com/CachyOS/linux-cachyosarch = x86_64arch = x86_64_v3@@ -24,7 +24,7 @@ pkgbase = linux-cacule-rdbmakedepends = makemakedepends = patchoptions = !strip- source = https://github.com/torvalds/linux/archive/refs/tags/v5.18.tar.gz+ source = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.18.tar.xzsource = configsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.18/sched/0001-cacULE-5.18.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.18/0001-amd-perf.patch@@ -45,7 +45,7 @@ pkgbase = linux-cacule-rdbsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.18/0001-ksm.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.18/0001-zram-entropy-calculation.patchsource = auto-cpu-optimization.sh- sha256sums = 4037b6912e2b6c5102ce89840e32a16839dadd846ee3afdfb6704f44273b0c95+ sha256sums = 51f3f1684a896e797182a0907299cc1f0ff5e5b51dd9a55478ae63a409855ceesha256sums = 37ee10cdd091325b470ad6c0969d9e81deb8194f482d154efe97382afbd6e43asha256sums = bc7d00587607fbb2e5ad00d727ffe4e1a021322b1bdbd7c2611a4f0eead39d59sha256sums = 9824cd3a41db040bf28d6538aa4805f869333139cbcf43e0422e1b42f5401270diff --git a/linux-cacule-rdb/PKGBUILD b/linux-cacule-rdb/PKGBUILDindex 9c718891..fc5567f2 100644--- a/linux-cacule-rdb/PKGBUILD+++ b/linux-cacule-rdb/PKGBUILD@@ -85,6 +85,9 @@ _use_auto_optimization=## Apply Kernel Optimization selecting_use_optimization_select=y+# disable debug to lower the size of the kernel+_disable_debug=y+## Enable zram/zswap ZSTD compression_zstd_compression=y@@ -125,7 +128,7 @@ _srcname=linux-${_stable}#_srcname=linux-${_major}arch=(x86_64 x86_64_v3)pkgdesc='Linux cacULE-RDB scheduler Kernel by CachyOS with other patches and improvements'-pkgrel=1+pkgrel=2arch=('x86_64' 'x86_64_v3')url="https://github.com/CachyOS/linux-cachyos"license=('GPL2')@@ -142,9 +145,8 @@ if [ -n "$_use_llvm_lto" ]; thenfi_patchsource="https://raw.githubusercontent.com/ptr1337/kernel-patches/master/${_major}"source=(-"https://github.com/torvalds/linux/archive/refs/tags/v${_major}.tar.gz"-# "https://cdn.kernel.org/pub/linux/kernel/v${pkgver%%.*}.x/${_srcname}.tar.xz"-"config")+ "https://cdn.kernel.org/pub/linux/kernel/v${pkgver%%.*}.x/${_srcname}.tar.xz"+ "config")if [ "$_cpusched" = "bmq" ]; thensource+=("${_patchsource}/sched/0001-prjc.patch")fi@@ -508,6 +510,22 @@ prepare() {--set-str ZSWAP_COMPRESSOR_DEFAULT zstdfi+ if [ -n "$_disable_debug" ]; then+ scripts/config --disable DEBUG_INFO \+ --disable DEBUG_INFO_BTF \+ --disable DEBUG_INFO_DWARF4 \+ --disable PAHOLE_HAS_SPLIT_BTF \+ --disable DEBUG_INFO_BTF_MODULES \+ --disable SLUB_DEBUG \+ --disable PM_DEBUG \+ --disable PM_ADVANCED_DEBUG \+ --disable PM_SLEEP_DEBUG \+ --disable ACPI_DEBUG \+ --disable SCHED_DEBUG \+ --disable LATENCYTOP \+ --disable DEBUG_PREEMPT+ fi+echo "Enable ZRAM_ENTROPY"scripts/config --enable ZRAM_ENTROPYecho "Enable USER_NS_UNPRIVILEGED"@@ -684,7 +702,7 @@ for _p in "${pkgname[@]}"; do}"done-sha256sums=('4037b6912e2b6c5102ce89840e32a16839dadd846ee3afdfb6704f44273b0c95'+sha256sums=('51f3f1684a896e797182a0907299cc1f0ff5e5b51dd9a55478ae63a409855cee''37ee10cdd091325b470ad6c0969d9e81deb8194f482d154efe97382afbd6e43a''bc7d00587607fbb2e5ad00d727ffe4e1a021322b1bdbd7c2611a4f0eead39d59''9824cd3a41db040bf28d6538aa4805f869333139cbcf43e0422e1b42f5401270'diff --git a/linux-cacule/.SRCINFO b/linux-cacule/.SRCINFOindex 54ab0a2a..1cb6eac0 100755--- a/linux-cacule/.SRCINFO+++ b/linux-cacule/.SRCINFO@@ -1,7 +1,7 @@pkgbase = linux-caculepkgdesc = Linux cacULE scheduler Kernel by CachyOS with other patches and improvementspkgver = 5.18.0- pkgrel = 1+ pkgrel = 2url = https://github.com/CachyOS/linux-cachyosarch = x86_64arch = x86_64_v3@@ -24,7 +24,7 @@ pkgbase = linux-caculemakedepends = makemakedepends = patchoptions = !strip- source = https://github.com/torvalds/linux/archive/refs/tags/v5.18.tar.gz+ source = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.18.tar.xzsource = configsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.18/sched/0001-cacULE-5.18.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.18/0001-amd-perf.patch@@ -45,7 +45,7 @@ pkgbase = linux-caculesource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.18/0001-ksm.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.18/0001-zram-entropy-calculation.patchsource = auto-cpu-optimization.sh- sha256sums = 4037b6912e2b6c5102ce89840e32a16839dadd846ee3afdfb6704f44273b0c95+ sha256sums = 51f3f1684a896e797182a0907299cc1f0ff5e5b51dd9a55478ae63a409855ceesha256sums = 37ee10cdd091325b470ad6c0969d9e81deb8194f482d154efe97382afbd6e43asha256sums = bc7d00587607fbb2e5ad00d727ffe4e1a021322b1bdbd7c2611a4f0eead39d59sha256sums = 9824cd3a41db040bf28d6538aa4805f869333139cbcf43e0422e1b42f5401270diff --git a/linux-cacule/PKGBUILD b/linux-cacule/PKGBUILDindex ce696ffb..985cf084 100644--- a/linux-cacule/PKGBUILD+++ b/linux-cacule/PKGBUILD@@ -85,6 +85,9 @@ _use_auto_optimization=## Apply Kernel Optimization selecting_use_optimization_select=y+# disable debug to lower the size of the kernel+_disable_debug=y+## Enable zram/zswap ZSTD compression_zstd_compression=y@@ -125,7 +128,7 @@ _srcname=linux-${_stable}#_srcname=linux-${_major}arch=(x86_64 x86_64_v3)pkgdesc='Linux cacULE scheduler Kernel by CachyOS with other patches and improvements'-pkgrel=1+pkgrel=2arch=('x86_64' 'x86_64_v3')url="https://github.com/CachyOS/linux-cachyos"license=('GPL2')@@ -142,9 +145,8 @@ if [ -n "$_use_llvm_lto" ]; thenfi_patchsource="https://raw.githubusercontent.com/ptr1337/kernel-patches/master/${_major}"source=(-"https://github.com/torvalds/linux/archive/refs/tags/v${_major}.tar.gz"-# "https://cdn.kernel.org/pub/linux/kernel/v${pkgver%%.*}.x/${_srcname}.tar.xz"-"config")+ "https://cdn.kernel.org/pub/linux/kernel/v${pkgver%%.*}.x/${_srcname}.tar.xz"+ "config")if [ "$_cpusched" = "bmq" ]; thensource+=("${_patchsource}/sched/0001-prjc.patch")fi@@ -508,6 +510,22 @@ prepare() {--set-str ZSWAP_COMPRESSOR_DEFAULT zstdfi+ if [ -n "$_disable_debug" ]; then+ scripts/config --disable DEBUG_INFO \+ --disable DEBUG_INFO_BTF \+ --disable DEBUG_INFO_DWARF4 \+ --disable PAHOLE_HAS_SPLIT_BTF \+ --disable DEBUG_INFO_BTF_MODULES \+ --disable SLUB_DEBUG \+ --disable PM_DEBUG \+ --disable PM_ADVANCED_DEBUG \+ --disable PM_SLEEP_DEBUG \+ --disable ACPI_DEBUG \+ --disable SCHED_DEBUG \+ --disable LATENCYTOP \+ --disable DEBUG_PREEMPT+ fi+echo "Enable ZRAM_ENTROPY"scripts/config --enable ZRAM_ENTROPYecho "Enable USER_NS_UNPRIVILEGED"@@ -684,7 +702,7 @@ for _p in "${pkgname[@]}"; do}"done-sha256sums=('4037b6912e2b6c5102ce89840e32a16839dadd846ee3afdfb6704f44273b0c95'+sha256sums=('51f3f1684a896e797182a0907299cc1f0ff5e5b51dd9a55478ae63a409855cee''37ee10cdd091325b470ad6c0969d9e81deb8194f482d154efe97382afbd6e43a''bc7d00587607fbb2e5ad00d727ffe4e1a021322b1bdbd7c2611a4f0eead39d59''9824cd3a41db040bf28d6538aa4805f869333139cbcf43e0422e1b42f5401270'diff --git a/zfs/.SRCINFO b/zfs/.SRCINFOindex 0319bd53..001b44ad 100644--- a/zfs/.SRCINFO+++ b/zfs/.SRCINFO@@ -1,14 +1,14 @@pkgbase = linux-cachyos-zfspkgdesc = Kernel modules for the Zettabyte File System.pkgver = 2.1.5- pkgrel = 1+ pkgrel = 2url = http://zfsonlinux.org/install = zfs.installarch = x86_64arch = x86_64_v3license = CDDLmakedepends = linux-cachyos-headers- depends = linux-cachyos=5.18.0-1+ depends = linux-cachyos=5.18.0-2depends = kmoddepends = zfs-utils=2.1.5provides = zfs=2.1.5diff --git a/zfs/PKGBUILD b/zfs/PKGBUILDindex 95393e5b..3737a917 100644--- a/zfs/PKGBUILD+++ b/zfs/PKGBUILD@@ -39,10 +39,11 @@ elsefi_linuxprefix=linux-${_linuxpostfix}-_kernver=5.18.0-1+_kernver=5.18.0-2pkgname="${_linuxprefix}-zfs"pkgver=2.1.5-pkgrel=1+_pkgver=2.14+pkgrel=2pkgdesc='Kernel modules for the Zettabyte File System.'arch=('x86_64' 'x86_64_v3')url="http://zfsonlinux.org/"@@ -64,12 +65,12 @@ if [ -n "$_use_llvm_lto" ]; then)fiprepare () {- cd "zfs-${pkgver}"+ cd "zfs-${_pkgver}"patch -Np1 < "${srcdir}"/0001-zfs-2.1.5-staging.patch}build() {- cd "zfs-${pkgver}"+ cd "zfs-${_pkgver}"if [ -n "$_use_llvm_lto" ]; then./autogen.sh