Skip to content

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

Fixed zstd swap flag

Piotr Gorski0726d8970c54
diff --git a/linux-bore/.SRCINFO b/linux-bore/.SRCINFO
index ba462cf3..4a711ea7 100644
--- a/linux-bore/.SRCINFO
+++ b/linux-bore/.SRCINFO
@@ -1,5 +1,5 @@
# Generated by makepkg 6.0.1
-# Wed Aug 10 10:44:44 UTC 2022
+# Wed Aug 10 11:16:47 UTC 2022
pkgbase = linux-bore
pkgdesc = Linux BORE scheduler Kernel by CachyOS with other patches and improvements
pkgver = 5.19.0
diff --git a/linux-bore/PKGBUILD b/linux-bore/PKGBUILD
index b5d95011..0ef54902 100644
--- a/linux-bore/PKGBUILD
+++ b/linux-bore/PKGBUILD
@@ -611,6 +611,14 @@ prepare() {
--disable LRNG_SELFTEST_PANIC
fi
+ ### Enable ZSTD swap/zram compression
+ if [ -n "$_zstd_swap_compression" ]; then
+ echo "Enabling zram ZSTD compression..."
+ scripts/config --disable CONFIG_ZSWAP_DEFAULT_ON \
+ --enable ZRAM_ENTROPY \
+ --set-val ZRAM_ENTROPY_THRESHOLD 100000
+ fi
+
### Selecting the ZSTD modules and kernel compression level
if [ "$_zstd_level_value" = "ultra" ]; then
echo "Enabling highest ZSTD modules and kernel compression ratio..."
diff --git a/linux-cachyos/.SRCINFO b/linux-cachyos/.SRCINFO
index 52ff86c9..01e39fcf 100644
--- a/linux-cachyos/.SRCINFO
+++ b/linux-cachyos/.SRCINFO
@@ -1,5 +1,5 @@
# Generated by makepkg 6.0.1
-# Wed Aug 10 10:55:33 UTC 2022
+# Wed Aug 10 11:17:32 UTC 2022
pkgbase = linux-cachyos
pkgdesc = Linux BORE scheduler Kernel by CachyOS with other patches and improvements
pkgver = 5.19.0
diff --git a/linux-cachyos/PKGBUILD b/linux-cachyos/PKGBUILD
index 68255ae4..1dd240d4 100644
--- a/linux-cachyos/PKGBUILD
+++ b/linux-cachyos/PKGBUILD
@@ -611,6 +611,14 @@ prepare() {
--disable LRNG_SELFTEST_PANIC
fi
+ ### Enable ZSTD swap/zram compression
+ if [ -n "$_zstd_swap_compression" ]; then
+ echo "Enabling zram ZSTD compression..."
+ scripts/config --disable CONFIG_ZSWAP_DEFAULT_ON \
+ --enable ZRAM_ENTROPY \
+ --set-val ZRAM_ENTROPY_THRESHOLD 100000
+ fi
+
### Selecting the ZSTD modules and kernel compression level
if [ "$_zstd_level_value" = "ultra" ]; then
echo "Enabling highest ZSTD modules and kernel compression ratio..."