Skip to content

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

Cleaning, smoothing and adding some comments again

Piotr Gorski91081b32efcd
diff --git a/linux-cachyos-rc/.SRCINFO b/linux-cachyos-rc/.SRCINFO
old mode 100644
new mode 100755
index 0f7f1463..390ff2c3
--- a/linux-cachyos-rc/.SRCINFO
+++ b/linux-cachyos-rc/.SRCINFO
@@ -1,5 +1,5 @@
# Generated by makepkg 6.0.1
-# Wed Jul 20 11:48:27 UTC 2022
+# Wed Jul 20 11:54:50 UTC 2022
pkgbase = linux-cachyos-rc
pkgdesc = Linux BORE scheduler Kernel by CachyOS and with some other patches and other improvements
pkgver = 5.19.rc7
diff --git a/linux-cachyos-rc/PKGBUILD b/linux-cachyos-rc/PKGBUILD
index 6959ffa9..32a3d961 100644
--- a/linux-cachyos-rc/PKGBUILD
+++ b/linux-cachyos-rc/PKGBUILD
@@ -242,6 +242,7 @@ prepare() {
scripts/config -k --enable CONFIG_${MARCH2}
fi
+ ### Use autooptimization
if [ -n "$_use_auto_optimization" ]; then
"${srcdir}"/auto-cpu-optimization.sh
fi
@@ -271,8 +272,8 @@ prepare() {
scripts/config --enable SCHED_BORE
elif [ "$_cpusched" = "tt" ]; then
echo "Selecting TT Scheduler..."
- scripts/config --enable TT_SCHED
- scripts/config --enable TT_ACCOUNTING_STATS
+ scripts/config --enable TT_SCHED \
+ --enable TT_ACCOUNTING_STATS
elif [ "$_cpusched" = "cfs" ]; then
echo "Selecting Completely Fair Scheduler..."
elif [ "$_cpusched" = "hardened" ]; then
@@ -287,6 +288,7 @@ prepare() {
exit
fi
+ ### Enable KCFI
if [ -n "$_use_kcfi" ]; then
echo "Enabling kCFI"
scripts/config --enable ARCH_SUPPORTS_CFI_CLANG \
@@ -320,7 +322,7 @@ prepare() {
scripts/config --enable LTO_NONE
fi
- ### Seletc tick rate
+ ### Select tick rate
if [ "$_HZ_ticks" = "1000" ]; then
echo "Setting tick rate to 1k Hz..."
scripts/config --disable HZ_300 \