Skip to content

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

Cleaning, smoothing and adding some comments again

Piotr Gorski83ca8b2b94b1
diff --git a/linux-bore/.SRCINFO b/linux-bore/.SRCINFO
index d71852a2..48e3d64c 100644
--- a/linux-bore/.SRCINFO
+++ b/linux-bore/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by makepkg 6.0.1
-# Fri Jul 22 08:01:05 UTC 2022
+# Fri Jul 22 08:50:49 UTC 2022
pkgbase = linux-bore
pkgdesc = Linux BORE scheduler Kernel by CachyOS with other patches and improvements
pkgver = 5.18.12
- pkgrel = 4
+ pkgrel = 5
url = https://github.com/CachyOS/linux-cachyos
arch = x86_64
arch = x86_64_v3
diff --git a/linux-bore/PKGBUILD b/linux-bore/PKGBUILD
index ca1f04db..184e25d1 100644
--- a/linux-bore/PKGBUILD
+++ b/linux-bore/PKGBUILD
@@ -142,7 +142,7 @@ _stable=${_major}.${_minor}
_srcname=linux-${_stable}
#_srcname=linux-${_major}
pkgdesc='Linux BORE scheduler Kernel by CachyOS with other patches and improvements'
-pkgrel=4
+pkgrel=5
_kernver=$pkgver-$pkgrel
arch=('x86_64' 'x86_64_v3')
url="https://github.com/CachyOS/linux-cachyos"
@@ -343,8 +343,10 @@ prepare() {
scripts/config --disable HZ_300 \
--enable HZ_500 \
--set-val HZ 500
- elif [ "$_HZ_ticks" = "300" ]; then
+ else
echo "Setting tick rate to 300Hz..."
+ scripts/config --enable HZ_300 \
+ --set-val HZ 300
fi
### Disable NUMA
@@ -395,14 +397,14 @@ prepare() {
--disable NO_HZ_COMMON \
--enable HZ_PERIODIC
elif [ "$_tickrate" = "idle" ]; then
- echo "Enabling tickless idle..."
+ echo "Enabling idle ticks.."
scripts/config --disable HZ_PERIODIC \
--disable NO_HZ_FULL \
--enable NO_HZ_IDLE \
--enable NO_HZ \
--enable NO_HZ_COMMON
elif [ "$_tickrate" = "full" ]; then
- echo "Enabling tickless idle..."
+ echo "Enabling full ticks..."
scripts/config --disable HZ_PERIODIC \
--disable NO_HZ_IDLE \
--disable CONTEXT_TRACKING_FORCE \
@@ -411,6 +413,14 @@ prepare() {
--enable NO_HZ \
--enable NO_HZ_COMMON \
--enable CONTEXT_TRACKING
+ else
+ if [ -n "$_tickrate" ]; then
+ error "The value $_tickrate is invalid. Choose the correct one again."
+ else
+ error "The value is empty. Choose the correct one again."
+ fi
+ error "Selecting the tick rate failed!"
+ exit
fi
### Select preempt type
@@ -424,7 +434,7 @@ prepare() {
--enable PREEMPTION \
--enable PREEMPT_DYNAMIC
elif [ "$_preempt" = "voluntary" ]; then
- echo "Enabling tickless idle..."
+ echo "Enabling voluntary preempt..."
scripts/config --enable PREEMPT_BUILD \
--disable PREEMPT_NONE \
--enable PREEMPT_VOLUNTARY \
@@ -432,8 +442,8 @@ prepare() {
--enable PREEMPT_COUNT \
--enable PREEMPTION \
--disable PREEMPT_DYNAMIC
- elif [ "$_tickrate" = "server" ]; then
- echo "Enabling tickless idle..."
+ elif [ "$_preempt" = "server" ]; then
+ echo "Enabling server preempt..."
scripts/config --enable PREEMPT_NONE_BUILD \
--enable PREEMPT_NONE \
--disable PREEMPT_VOLUNTARY \
@@ -441,6 +451,14 @@ prepare() {
--disable PREEMPT_COUNT \
--disable PREEMPTION \
--disable PREEMPT_DYNAMIC
+ else
+ if [ -n "$_preempt" ]; then
+ error "The value $_preempt is invalid. Choose the correct one again."
+ else
+ error "The value is empty. Choose the correct one again."
+ fi
+ error "Selecting PREEMPT failed!"
+ exit
fi
### Enable O3
diff --git a/linux-cachyos-bmq/.SRCINFO b/linux-cachyos-bmq/.SRCINFO
index 3addc063..bb73a166 100644
--- a/linux-cachyos-bmq/.SRCINFO
+++ b/linux-cachyos-bmq/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by makepkg 6.0.1
-# Fri Jul 22 08:05:49 UTC 2022
+# Fri Jul 22 08:53:14 UTC 2022
pkgbase = linux-cachyos-bmq
pkgdesc = Linux BMQ scheduler Kernel by CachyOS with other patches and improvements
pkgver = 5.18.12
- pkgrel = 4
+ pkgrel = 5
url = https://github.com/CachyOS/linux-cachyos
arch = x86_64
arch = x86_64_v3
diff --git a/linux-cachyos-bmq/PKGBUILD b/linux-cachyos-bmq/PKGBUILD
index 080ac797..7535d297 100644
--- a/linux-cachyos-bmq/PKGBUILD
+++ b/linux-cachyos-bmq/PKGBUILD
@@ -145,7 +145,7 @@ _stable=${_major}.${_minor}
_srcname=linux-${_stable}
#_srcname=linux-${_major}
pkgdesc='Linux BMQ scheduler Kernel by CachyOS with other patches and improvements'
-pkgrel=4
+pkgrel=5
_kernver=$pkgver-$pkgrel
arch=('x86_64' 'x86_64_v3')
url="https://github.com/CachyOS/linux-cachyos"
@@ -347,8 +347,10 @@ prepare() {
scripts/config --disable HZ_300 \
--enable HZ_500 \
--set-val HZ 500
- elif [ "$_HZ_ticks" = "300" ]; then
+ else
echo "Setting tick rate to 300Hz..."
+ scripts/config --enable HZ_300 \
+ --set-val HZ 300
fi
### Disable NUMA
@@ -399,14 +401,14 @@ prepare() {
--disable NO_HZ_COMMON \
--enable HZ_PERIODIC
elif [ "$_tickrate" = "idle" ]; then
- echo "Enabling tickless idle..."
+ echo "Enabling idle ticks.."
scripts/config --disable HZ_PERIODIC \
--disable NO_HZ_FULL \
--enable NO_HZ_IDLE \
--enable NO_HZ \
--enable NO_HZ_COMMON
elif [ "$_tickrate" = "full" ]; then
- echo "Enabling tickless idle..."
+ echo "Enabling full ticks..."
scripts/config --disable HZ_PERIODIC \
--disable NO_HZ_IDLE \
--disable CONTEXT_TRACKING_FORCE \
@@ -415,6 +417,14 @@ prepare() {
--enable NO_HZ \
--enable NO_HZ_COMMON \
--enable CONTEXT_TRACKING
+ else
+ if [ -n "$_tickrate" ]; then
+ error "The value $_tickrate is invalid. Choose the correct one again."
+ else
+ error "The value is empty. Choose the correct one again."
+ fi
+ error "Selecting the tick rate failed!"
+ exit
fi
### Select preempt type
@@ -428,7 +438,7 @@ prepare() {
--enable PREEMPTION \
--enable PREEMPT_DYNAMIC
elif [ "$_preempt" = "voluntary" ]; then
- echo "Enabling tickless idle..."
+ echo "Enabling voluntary preempt..."
scripts/config --enable PREEMPT_BUILD \
--disable PREEMPT_NONE \
--enable PREEMPT_VOLUNTARY \
@@ -436,8 +446,8 @@ prepare() {
--enable PREEMPT_COUNT \
--enable PREEMPTION \
--disable PREEMPT_DYNAMIC
- elif [ "$_tickrate" = "server" ]; then
- echo "Enabling tickless idle..."
+ elif [ "$_preempt" = "server" ]; then
+ echo "Enabling server preempt..."
scripts/config --enable PREEMPT_NONE_BUILD \
--enable PREEMPT_NONE \
--disable PREEMPT_VOLUNTARY \
@@ -445,6 +455,14 @@ prepare() {
--disable PREEMPT_COUNT \
--disable PREEMPTION \
--disable PREEMPT_DYNAMIC
+ else
+ if [ -n "$_preempt" ]; then
+ error "The value $_preempt is invalid. Choose the correct one again."
+ else
+ error "The value is empty. Choose the correct one again."
+ fi
+ error "Selecting PREEMPT failed!"
+ exit
fi
### Enable O3
diff --git a/linux-cachyos-bore/.SRCINFO b/linux-cachyos-bore/.SRCINFO
index 79607aa5..e0b10511 100644
--- a/linux-cachyos-bore/.SRCINFO
+++ b/linux-cachyos-bore/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by makepkg 6.0.1
-# Fri Jul 22 08:06:33 UTC 2022
+# Fri Jul 22 08:54:00 UTC 2022
pkgbase = linux-cachyos-bore
pkgdesc = Linux BORE scheduler Kernel by CachyOS with other patches and improvements
pkgver = 5.18.12
- pkgrel = 4
+ pkgrel = 5
url = https://github.com/CachyOS/linux-cachyos
arch = x86_64
arch = x86_64_v3
diff --git a/linux-cachyos-bore/PKGBUILD b/linux-cachyos-bore/PKGBUILD
index 962c36fc..eefa9dcc 100644
--- a/linux-cachyos-bore/PKGBUILD
+++ b/linux-cachyos-bore/PKGBUILD
@@ -142,7 +142,7 @@ _stable=${_major}.${_minor}
_srcname=linux-${_stable}
#_srcname=linux-${_major}
pkgdesc='Linux BORE scheduler Kernel by CachyOS with other patches and improvements'
-pkgrel=4
+pkgrel=5
_kernver=$pkgver-$pkgrel
arch=('x86_64' 'x86_64_v3')
url="https://github.com/CachyOS/linux-cachyos"
@@ -344,8 +344,10 @@ prepare() {
scripts/config --disable HZ_300 \
--enable HZ_500 \
--set-val HZ 500
- elif [ "$_HZ_ticks" = "300" ]; then
+ else
echo "Setting tick rate to 300Hz..."
+ scripts/config --enable HZ_300 \
+ --set-val HZ 300
fi
### Disable NUMA
@@ -396,14 +398,14 @@ prepare() {
--disable NO_HZ_COMMON \
--enable HZ_PERIODIC
elif [ "$_tickrate" = "idle" ]; then
- echo "Enabling tickless idle..."
+ echo "Enabling idle ticks.."
scripts/config --disable HZ_PERIODIC \
--disable NO_HZ_FULL \
--enable NO_HZ_IDLE \
--enable NO_HZ \
--enable NO_HZ_COMMON
elif [ "$_tickrate" = "full" ]; then
- echo "Enabling tickless idle..."
+ echo "Enabling full ticks..."
scripts/config --disable HZ_PERIODIC \
--disable NO_HZ_IDLE \
--disable CONTEXT_TRACKING_FORCE \
@@ -412,6 +414,14 @@ prepare() {
--enable NO_HZ \
--enable NO_HZ_COMMON \
--enable CONTEXT_TRACKING
+ else
+ if [ -n "$_tickrate" ]; then
+ error "The value $_tickrate is invalid. Choose the correct one again."
+ else
+ error "The value is empty. Choose the correct one again."
+ fi
+ error "Selecting the tick rate failed!"
+ exit
fi
### Select preempt type
@@ -425,7 +435,7 @@ prepare() {
--enable PREEMPTION \
--enable PREEMPT_DYNAMIC
elif [ "$_preempt" = "voluntary" ]; then
- echo "Enabling tickless idle..."
+ echo "Enabling voluntary preempt..."
scripts/config --enable PREEMPT_BUILD \
--disable PREEMPT_NONE \
--enable PREEMPT_VOLUNTARY \
@@ -433,8 +443,8 @@ prepare() {
--enable PREEMPT_COUNT \
--enable PREEMPTION \
--disable PREEMPT_DYNAMIC
- elif [ "$_tickrate" = "server" ]; then
- echo "Enabling tickless idle..."
+ elif [ "$_preempt" = "server" ]; then
+ echo "Enabling server preempt..."
scripts/config --enable PREEMPT_NONE_BUILD \
--enable PREEMPT_NONE \
--disable PREEMPT_VOLUNTARY \
@@ -442,6 +452,14 @@ prepare() {
--disable PREEMPT_COUNT \
--disable PREEMPTION \
--disable PREEMPT_DYNAMIC
+ else
+ if [ -n "$_preempt" ]; then
+ error "The value $_preempt is invalid. Choose the correct one again."
+ else
+ error "The value is empty. Choose the correct one again."
+ fi
+ error "Selecting PREEMPT failed!"
+ exit
fi
### Enable O3
diff --git a/linux-cachyos-cacule/.SRCINFO b/linux-cachyos-cacule/.SRCINFO
index b49bb195..c51d8826 100644
--- a/linux-cachyos-cacule/.SRCINFO
+++ b/linux-cachyos-cacule/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by makepkg 6.0.1
-# Fri Jul 22 08:08:01 UTC 2022
+# Fri Jul 22 08:55:10 UTC 2022
pkgbase = linux-cachyos-cacule
pkgdesc = Linux cacULE scheduler Kernel by CachyOS with other patches and improvements
pkgver = 5.18.12
- pkgrel = 4
+ pkgrel = 5
url = https://github.com/CachyOS/linux-cachyos
arch = x86_64
arch = x86_64_v3
diff --git a/linux-cachyos-cacule/PKGBUILD b/linux-cachyos-cacule/PKGBUILD
index f2ddfd21..1402089a 100644
--- a/linux-cachyos-cacule/PKGBUILD
+++ b/linux-cachyos-cacule/PKGBUILD
@@ -142,7 +142,7 @@ _stable=${_major}.${_minor}
_srcname=linux-${_stable}
#_srcname=linux-${_major}
pkgdesc='Linux cacULE scheduler Kernel by CachyOS with other patches and improvements'
-pkgrel=4
+pkgrel=5
_kernver=$pkgver-$pkgrel
arch=('x86_64' 'x86_64_v3')
url="https://github.com/CachyOS/linux-cachyos"
@@ -344,8 +344,10 @@ prepare() {
scripts/config --disable HZ_300 \
--enable HZ_500 \
--set-val HZ 500
- elif [ "$_HZ_ticks" = "300" ]; then
+ else
echo "Setting tick rate to 300Hz..."
+ scripts/config --enable HZ_300 \
+ --set-val HZ 300
fi
### Disable NUMA
@@ -396,14 +398,14 @@ prepare() {
--disable NO_HZ_COMMON \
--enable HZ_PERIODIC
elif [ "$_tickrate" = "idle" ]; then
- echo "Enabling tickless idle..."
+ echo "Enabling idle ticks.."
scripts/config --disable HZ_PERIODIC \
--disable NO_HZ_FULL \
--enable NO_HZ_IDLE \
--enable NO_HZ \
--enable NO_HZ_COMMON
elif [ "$_tickrate" = "full" ]; then
- echo "Enabling tickless idle..."
+ echo "Enabling full ticks..."
scripts/config --disable HZ_PERIODIC \
--disable NO_HZ_IDLE \
--disable CONTEXT_TRACKING_FORCE \
@@ -412,6 +414,14 @@ prepare() {
--enable NO_HZ \
--enable NO_HZ_COMMON \
--enable CONTEXT_TRACKING
+ else
+ if [ -n "$_tickrate" ]; then
+ error "The value $_tickrate is invalid. Choose the correct one again."
+ else
+ error "The value is empty. Choose the correct one again."
+ fi
+ error "Selecting the tick rate failed!"
+ exit
fi
### Select preempt type
@@ -425,7 +435,7 @@ prepare() {
--enable PREEMPTION \
--enable PREEMPT_DYNAMIC
elif [ "$_preempt" = "voluntary" ]; then
- echo "Enabling tickless idle..."
+ echo "Enabling voluntary preempt..."
scripts/config --enable PREEMPT_BUILD \
--disable PREEMPT_NONE \
--enable PREEMPT_VOLUNTARY \
@@ -433,8 +443,8 @@ prepare() {
--enable PREEMPT_COUNT \
--enable PREEMPTION \
--disable PREEMPT_DYNAMIC
- elif [ "$_tickrate" = "server" ]; then
- echo "Enabling tickless idle..."
+ elif [ "$_preempt" = "server" ]; then
+ echo "Enabling server preempt..."
scripts/config --enable PREEMPT_NONE_BUILD \
--enable PREEMPT_NONE \
--disable PREEMPT_VOLUNTARY \
@@ -442,6 +452,14 @@ prepare() {
--disable PREEMPT_COUNT \
--disable PREEMPTION \
--disable PREEMPT_DYNAMIC
+ else
+ if [ -n "$_preempt" ]; then
+ error "The value $_preempt is invalid. Choose the correct one again."
+ else
+ error "The value is empty. Choose the correct one again."
+ fi
+ error "Selecting PREEMPT failed!"
+ exit
fi
### Enable O3
diff --git a/linux-cachyos-cfs/.SRCINFO b/linux-cachyos-cfs/.SRCINFO
index a5b24ddf..f3755ac8 100644
--- a/linux-cachyos-cfs/.SRCINFO
+++ b/linux-cachyos-cfs/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by makepkg 6.0.1
-# Fri Jul 22 08:10:24 UTC 2022
+# Fri Jul 22 08:56:31 UTC 2022
pkgbase = linux-cachyos-cfs
pkgdesc = Linux CFS scheduler Kernel by CachyOS with other patches and improvements
pkgver = 5.18.12
- pkgrel = 4
+ pkgrel = 5
url = https://github.com/CachyOS/linux-cachyos
arch = x86_64
arch = x86_64_v3
diff --git a/linux-cachyos-cfs/PKGBUILD b/linux-cachyos-cfs/PKGBUILD
index 71fdc0d5..31cff63b 100644
--- a/linux-cachyos-cfs/PKGBUILD
+++ b/linux-cachyos-cfs/PKGBUILD
@@ -142,7 +142,7 @@ _stable=${_major}.${_minor}
_srcname=linux-${_stable}
#_srcname=linux-${_major}
pkgdesc='Linux CFS scheduler Kernel by CachyOS with other patches and improvements'
-pkgrel=4
+pkgrel=5
_kernver=$pkgver-$pkgrel
arch=('x86_64' 'x86_64_v3')
url="https://github.com/CachyOS/linux-cachyos"
@@ -345,8 +345,10 @@ prepare() {
scripts/config --disable HZ_300 \
--enable HZ_500 \
--set-val HZ 500
- elif [ "$_HZ_ticks" = "300" ]; then
+ else
echo "Setting tick rate to 300Hz..."
+ scripts/config --enable HZ_300 \
+ --set-val HZ 300
fi
### Disable NUMA
@@ -397,14 +399,14 @@ prepare() {
--disable NO_HZ_COMMON \
--enable HZ_PERIODIC
elif [ "$_tickrate" = "idle" ]; then
- echo "Enabling tickless idle..."
+ echo "Enabling idle ticks.."
scripts/config --disable HZ_PERIODIC \
--disable NO_HZ_FULL \
--enable NO_HZ_IDLE \
--enable NO_HZ \
--enable NO_HZ_COMMON
elif [ "$_tickrate" = "full" ]; then
- echo "Enabling tickless idle..."
+ echo "Enabling full ticks..."
scripts/config --disable HZ_PERIODIC \
--disable NO_HZ_IDLE \
--disable CONTEXT_TRACKING_FORCE \
@@ -413,6 +415,14 @@ prepare() {
--enable NO_HZ \
--enable NO_HZ_COMMON \
--enable CONTEXT_TRACKING
+ else
+ if [ -n "$_tickrate" ]; then
+ error "The value $_tickrate is invalid. Choose the correct one again."
+ else
+ error "The value is empty. Choose the correct one again."
+ fi
+ error "Selecting the tick rate failed!"
+ exit
fi
### Select preempt type
@@ -426,7 +436,7 @@ prepare() {
--enable PREEMPTION \
--enable PREEMPT_DYNAMIC
elif [ "$_preempt" = "voluntary" ]; then
- echo "Enabling tickless idle..."
+ echo "Enabling voluntary preempt..."
scripts/config --enable PREEMPT_BUILD \
--disable PREEMPT_NONE \
--enable PREEMPT_VOLUNTARY \
@@ -434,8 +444,8 @@ prepare() {
--enable PREEMPT_COUNT \
--enable PREEMPTION \
--disable PREEMPT_DYNAMIC
- elif [ "$_tickrate" = "server" ]; then
- echo "Enabling tickless idle..."
+ elif [ "$_preempt" = "server" ]; then
+ echo "Enabling server preempt..."
scripts/config --enable PREEMPT_NONE_BUILD \
--enable PREEMPT_NONE \
--disable PREEMPT_VOLUNTARY \
@@ -443,6 +453,14 @@ prepare() {
--disable PREEMPT_COUNT \
--disable PREEMPTION \
--disable PREEMPT_DYNAMIC
+ else
+ if [ -n "$_preempt" ]; then
+ error "The value $_preempt is invalid. Choose the correct one again."
+ else
+ error "The value is empty. Choose the correct one again."
+ fi
+ error "Selecting PREEMPT failed!"
+ exit
fi
### Enable O3
diff --git a/linux-cachyos-hardened/.SRCINFO b/linux-cachyos-hardened/.SRCINFO
index c0887389..c8dcd124 100644
--- a/linux-cachyos-hardened/.SRCINFO
+++ b/linux-cachyos-hardened/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by makepkg 6.0.1
-# Fri Jul 22 08:10:59 UTC 2022
+# Fri Jul 22 08:57:11 UTC 2022
pkgbase = linux-cachyos-hardened
pkgdesc = Linux hardened kernel with the BORE scheduler Kernel by CachyOS with other patches and improvements
pkgver = 5.18.12
- pkgrel = 4
+ pkgrel = 5
url = https://github.com/CachyOS/linux-cachyos
arch = x86_64
arch = x86_64_v3
diff --git a/linux-cachyos-hardened/PKGBUILD b/linux-cachyos-hardened/PKGBUILD
index fce5d9ee..cd6e1208 100644
--- a/linux-cachyos-hardened/PKGBUILD
+++ b/linux-cachyos-hardened/PKGBUILD
@@ -142,7 +142,7 @@ _stable=${_major}.${_minor}
_srcname=linux-${_stable}
#_srcname=linux-${_major}
pkgdesc='Linux hardened kernel with the BORE scheduler Kernel by CachyOS with other patches and improvements'
-pkgrel=4
+pkgrel=5
_kernver=$pkgver-$pkgrel
arch=('x86_64' 'x86_64_v3')
url="https://github.com/CachyOS/linux-cachyos"
@@ -345,8 +345,10 @@ prepare() {
scripts/config --disable HZ_300 \
--enable HZ_500 \
--set-val HZ 500
- elif [ "$_HZ_ticks" = "300" ]; then
+ else
echo "Setting tick rate to 300Hz..."
+ scripts/config --enable HZ_300 \
+ --set-val HZ 300
fi
### Disable NUMA
@@ -397,14 +399,14 @@ prepare() {
--disable NO_HZ_COMMON \
--enable HZ_PERIODIC
elif [ "$_tickrate" = "idle" ]; then
- echo "Enabling tickless idle..."
+ echo "Enabling idle ticks.."
scripts/config --disable HZ_PERIODIC \
--disable NO_HZ_FULL \
--enable NO_HZ_IDLE \
--enable NO_HZ \
--enable NO_HZ_COMMON
elif [ "$_tickrate" = "full" ]; then
- echo "Enabling tickless idle..."
+ echo "Enabling full ticks..."
scripts/config --disable HZ_PERIODIC \
--disable NO_HZ_IDLE \
--disable CONTEXT_TRACKING_FORCE \
@@ -413,6 +415,14 @@ prepare() {
--enable NO_HZ \
--enable NO_HZ_COMMON \
--enable CONTEXT_TRACKING
+ else
+ if [ -n "$_tickrate" ]; then
+ error "The value $_tickrate is invalid. Choose the correct one again."
+ else
+ error "The value is empty. Choose the correct one again."
+ fi
+ error "Selecting the tick rate failed!"
+ exit
fi
### Select preempt type
@@ -426,7 +436,7 @@ prepare() {
--enable PREEMPTION \
--enable PREEMPT_DYNAMIC
elif [ "$_preempt" = "voluntary" ]; then
- echo "Enabling tickless idle..."
+ echo "Enabling voluntary preempt..."
scripts/config --enable PREEMPT_BUILD \
--disable PREEMPT_NONE \
--enable PREEMPT_VOLUNTARY \
@@ -434,8 +444,8 @@ prepare() {
--enable PREEMPT_COUNT \
--enable PREEMPTION \
--disable PREEMPT_DYNAMIC
- elif [ "$_tickrate" = "server" ]; then
- echo "Enabling tickless idle..."
+ elif [ "$_preempt" = "server" ]; then
+ echo "Enabling server preempt..."
scripts/config --enable PREEMPT_NONE_BUILD \
--enable PREEMPT_NONE \
--disable PREEMPT_VOLUNTARY \
@@ -443,6 +453,14 @@ prepare() {
--disable PREEMPT_COUNT \
--disable PREEMPTION \
--disable PREEMPT_DYNAMIC
+ else
+ if [ -n "$_preempt" ]; then
+ error "The value $_preempt is invalid. Choose the correct one again."
+ else
+ error "The value is empty. Choose the correct one again."
+ fi
+ error "Selecting PREEMPT failed!"
+ exit
fi
### Enable O3
diff --git a/linux-cachyos-pds/.SRCINFO b/linux-cachyos-pds/.SRCINFO
index 8a662636..e194330a 100644
--- a/linux-cachyos-pds/.SRCINFO
+++ b/linux-cachyos-pds/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by makepkg 6.0.1
-# Fri Jul 22 08:11:53 UTC 2022
+# Fri Jul 22 08:57:50 UTC 2022
pkgbase = linux-cachyos-pds
pkgdesc = Linux PDS scheduler Kernel by CachyOS with other patches and improvements
pkgver = 5.18.12
- pkgrel = 4
+ pkgrel = 5
url = https://github.com/CachyOS/linux-cachyos
arch = x86_64
arch = x86_64_v3
diff --git a/linux-cachyos-pds/PKGBUILD b/linux-cachyos-pds/PKGBUILD
index b1e5e0ae..bcdb2e95 100644
--- a/linux-cachyos-pds/PKGBUILD
+++ b/linux-cachyos-pds/PKGBUILD
@@ -142,7 +142,7 @@ _stable=${_major}.${_minor}
_srcname=linux-${_stable}
#_srcname=linux-${_major}
pkgdesc='Linux PDS scheduler Kernel by CachyOS with other patches and improvements'
-pkgrel=4
+pkgrel=5
_kernver=$pkgver-$pkgrel
arch=('x86_64' 'x86_64_v3')
url="https://github.com/CachyOS/linux-cachyos"
@@ -345,8 +345,10 @@ prepare() {
scripts/config --disable HZ_300 \
--enable HZ_500 \
--set-val HZ 500
- elif [ "$_HZ_ticks" = "300" ]; then
+ else
echo "Setting tick rate to 300Hz..."
+ scripts/config --enable HZ_300 \
+ --set-val HZ 300
fi
### Disable NUMA
@@ -397,14 +399,14 @@ prepare() {
--disable NO_HZ_COMMON \
--enable HZ_PERIODIC
elif [ "$_tickrate" = "idle" ]; then
- echo "Enabling tickless idle..."
+ echo "Enabling idle ticks.."
scripts/config --disable HZ_PERIODIC \
--disable NO_HZ_FULL \
--enable NO_HZ_IDLE \
--enable NO_HZ \
--enable NO_HZ_COMMON
elif [ "$_tickrate" = "full" ]; then
- echo "Enabling tickless idle..."
+ echo "Enabling full ticks..."
scripts/config --disable HZ_PERIODIC \
--disable NO_HZ_IDLE \
--disable CONTEXT_TRACKING_FORCE \
@@ -413,6 +415,14 @@ prepare() {
--enable NO_HZ \
--enable NO_HZ_COMMON \
--enable CONTEXT_TRACKING
+ else
+ if [ -n "$_tickrate" ]; then
+ error "The value $_tickrate is invalid. Choose the correct one again."
+ else
+ error "The value is empty. Choose the correct one again."
+ fi
+ error "Selecting the tick rate failed!"
+ exit
fi
### Select preempt type
@@ -426,7 +436,7 @@ prepare() {
--enable PREEMPTION \
--enable PREEMPT_DYNAMIC
elif [ "$_preempt" = "voluntary" ]; then
- echo "Enabling tickless idle..."
+ echo "Enabling voluntary preempt..."
scripts/config --enable PREEMPT_BUILD \
--disable PREEMPT_NONE \
--enable PREEMPT_VOLUNTARY \
@@ -434,8 +444,8 @@ prepare() {
--enable PREEMPT_COUNT \
--enable PREEMPTION \
--disable PREEMPT_DYNAMIC
- elif [ "$_tickrate" = "server" ]; then
- echo "Enabling tickless idle..."
+ elif [ "$_preempt" = "server" ]; then
+ echo "Enabling server preempt..."
scripts/config --enable PREEMPT_NONE_BUILD \
--enable PREEMPT_NONE \
--disable PREEMPT_VOLUNTARY \
@@ -443,6 +453,14 @@ prepare() {
--disable PREEMPT_COUNT \
--disable PREEMPTION \
--disable PREEMPT_DYNAMIC
+ else
+ if [ -n "$_preempt" ]; then
+ error "The value $_preempt is invalid. Choose the correct one again."
+ else
+ error "The value is empty. Choose the correct one again."
+ fi
+ error "Selecting PREEMPT failed!"
+ exit
fi
### Enable O3
diff --git a/linux-cachyos-rc/.SRCINFO b/linux-cachyos-rc/.SRCINFO
index f0517e12..da292ef5 100644
--- a/linux-cachyos-rc/.SRCINFO
+++ b/linux-cachyos-rc/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by makepkg 6.0.1
-# Fri Jul 22 08:12:38 UTC 2022
+# Fri Jul 22 08:58:31 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
- pkgrel = 4
+ pkgrel = 5
url = https://github.com/CachyOS/linux-cachyos
arch = x86_64
arch = x86_64_v3
diff --git a/linux-cachyos-rc/PKGBUILD b/linux-cachyos-rc/PKGBUILD
index 4521c026..a786cef4 100644
--- a/linux-cachyos-rc/PKGBUILD
+++ b/linux-cachyos-rc/PKGBUILD
@@ -139,7 +139,7 @@ _stable=${_major}-${_rcver}
_srcname=linux-${_stable}
#_srcname=linux-${_major}
pkgdesc='Linux BORE scheduler Kernel by CachyOS and with some other patches and other improvements'
-pkgrel=4
+pkgrel=5
_kernver=$pkgver-$pkgrel
arch=('x86_64' 'x86_64_v3')
url="https://github.com/CachyOS/linux-cachyos"
@@ -349,8 +349,10 @@ prepare() {
scripts/config --disable HZ_300 \
--enable HZ_500 \
--set-val HZ 500
- elif [ "$_HZ_ticks" = "300" ]; then
+ else
echo "Setting tick rate to 300Hz..."
+ scripts/config --enable HZ_300 \
+ --set-val HZ 300
fi
### Disable NUMA
@@ -401,14 +403,14 @@ prepare() {
--disable NO_HZ_COMMON \
--enable HZ_PERIODIC
elif [ "$_tickrate" = "idle" ]; then
- echo "Enabling tickless idle..."
+ echo "Enabling idle ticks.."
scripts/config --disable HZ_PERIODIC \
--disable NO_HZ_FULL \
--enable NO_HZ_IDLE \
--enable NO_HZ \
--enable NO_HZ_COMMON
elif [ "$_tickrate" = "full" ]; then
- echo "Enabling tickless idle..."
+ echo "Enabling full ticks..."
scripts/config --disable HZ_PERIODIC \
--disable NO_HZ_IDLE \
--disable CONTEXT_TRACKING_FORCE \
@@ -417,6 +419,14 @@ prepare() {
--enable NO_HZ \
--enable NO_HZ_COMMON \
--enable CONTEXT_TRACKING
+ else
+ if [ -n "$_tickrate" ]; then
+ error "The value $_tickrate is invalid. Choose the correct one again."
+ else
+ error "The value is empty. Choose the correct one again."
+ fi
+ error "Selecting the tick rate failed!"
+ exit
fi
### Select preempt type
@@ -430,7 +440,7 @@ prepare() {
--enable PREEMPTION \
--enable PREEMPT_DYNAMIC
elif [ "$_preempt" = "voluntary" ]; then
- echo "Enabling tickless idle..."
+ echo "Enabling voluntary preempt..."
scripts/config --enable PREEMPT_BUILD \
--disable PREEMPT_NONE \
--enable PREEMPT_VOLUNTARY \
@@ -438,8 +448,8 @@ prepare() {
--enable PREEMPT_COUNT \
--enable PREEMPTION \
--disable PREEMPT_DYNAMIC
- elif [ "$_tickrate" = "server" ]; then
- echo "Enabling tickless idle..."
+ elif [ "$_preempt" = "server" ]; then
+ echo "Enabling server preempt..."
scripts/config --enable PREEMPT_NONE_BUILD \
--enable PREEMPT_NONE \
--disable PREEMPT_VOLUNTARY \
@@ -447,6 +457,14 @@ prepare() {
--disable PREEMPT_COUNT \
--disable PREEMPTION \
--disable PREEMPT_DYNAMIC
+ else
+ if [ -n "$_preempt" ]; then
+ error "The value $_preempt is invalid. Choose the correct one again."
+ else
+ error "The value is empty. Choose the correct one again."
+ fi
+ error "Selecting PREEMPT failed!"
+ exit
fi
### Enable O3
diff --git a/linux-cachyos-rt-rc/.SRCINFO b/linux-cachyos-rt-rc/.SRCINFO
index ff6f1f65..0b196565 100644
--- a/linux-cachyos-rt-rc/.SRCINFO
+++ b/linux-cachyos-rt-rc/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by makepkg 6.0.1
-# Fri Jul 22 08:13:14 UTC 2022
+# Fri Jul 22 08:59:10 UTC 2022
pkgbase = linux-cachyos-rt-rc
pkgdesc = Linux BORE scheduler Kernel by CachyOS and with some other patches and other improvements
pkgver = 5.19.rc7
- pkgrel = 4
+ pkgrel = 5
url = https://github.com/CachyOS/linux-cachyos
arch = x86_64
arch = x86_64_v3
diff --git a/linux-cachyos-rt-rc/PKGBUILD b/linux-cachyos-rt-rc/PKGBUILD
index f7131bf2..6f2b2b4e 100644
--- a/linux-cachyos-rt-rc/PKGBUILD
+++ b/linux-cachyos-rt-rc/PKGBUILD
@@ -141,7 +141,7 @@ _stable=${_major}-${_rcver}
_srcname=linux-${_stable}
#_srcname=linux-${_major}
pkgdesc='Linux BORE scheduler Kernel by CachyOS and with some other patches and other improvements'
-pkgrel=4
+pkgrel=5
_kernver=$pkgver-$pkgrel
arch=('x86_64' 'x86_64_v3')
url="https://github.com/CachyOS/linux-cachyos"
@@ -355,8 +355,10 @@ prepare() {
scripts/config --disable HZ_300 \
--enable HZ_500 \
--set-val HZ 500
- elif [ "$_HZ_ticks" = "300" ]; then
+ else
echo "Setting tick rate to 300Hz..."
+ scripts/config --enable HZ_300 \
+ --set-val HZ 300
fi
### Disable NUMA
@@ -407,14 +409,14 @@ prepare() {
--disable NO_HZ_COMMON \
--enable HZ_PERIODIC
elif [ "$_tickrate" = "idle" ]; then
- echo "Enabling tickless idle..."
+ echo "Enabling idle ticks.."
scripts/config --disable HZ_PERIODIC \
--disable NO_HZ_FULL \
--enable NO_HZ_IDLE \
--enable NO_HZ \
--enable NO_HZ_COMMON
elif [ "$_tickrate" = "full" ]; then
- echo "Enabling tickless idle..."
+ echo "Enabling full ticks..."
scripts/config --disable HZ_PERIODIC \
--disable NO_HZ_IDLE \
--disable CONTEXT_TRACKING_FORCE \
@@ -423,6 +425,14 @@ prepare() {
--enable NO_HZ \
--enable NO_HZ_COMMON \
--enable CONTEXT_TRACKING
+ else
+ if [ -n "$_tickrate" ]; then
+ error "The value $_tickrate is invalid. Choose the correct one again."
+ else
+ error "The value is empty. Choose the correct one again."
+ fi
+ error "Selecting the tick rate failed!"
+ exit
fi
### Select preempt type
@@ -436,7 +446,7 @@ prepare() {
--enable PREEMPTION \
--enable PREEMPT_DYNAMIC
elif [ "$_preempt" = "voluntary" ]; then
- echo "Enabling tickless idle..."
+ echo "Enabling voluntary preempt..."
scripts/config --enable PREEMPT_BUILD \
--disable PREEMPT_NONE \
--enable PREEMPT_VOLUNTARY \
@@ -444,8 +454,8 @@ prepare() {
--enable PREEMPT_COUNT \
--enable PREEMPTION \
--disable PREEMPT_DYNAMIC
- elif [ "$_tickrate" = "server" ]; then
- echo "Enabling tickless idle..."
+ elif [ "$_preempt" = "server" ]; then
+ echo "Enabling server preempt..."
scripts/config --enable PREEMPT_NONE_BUILD \
--enable PREEMPT_NONE \
--disable PREEMPT_VOLUNTARY \
@@ -453,6 +463,14 @@ prepare() {
--disable PREEMPT_COUNT \
--disable PREEMPTION \
--disable PREEMPT_DYNAMIC
+ else
+ if [ -n "$_preempt" ]; then
+ error "The value $_preempt is invalid. Choose the correct one again."
+ else
+ error "The value is empty. Choose the correct one again."
+ fi
+ error "Selecting PREEMPT failed!"
+ exit
fi
### Enable O3
diff --git a/linux-cachyos-tt/.SRCINFO b/linux-cachyos-tt/.SRCINFO
index bb7472be..ad195164 100644
--- a/linux-cachyos-tt/.SRCINFO
+++ b/linux-cachyos-tt/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by makepkg 6.0.1
-# Fri Jul 22 08:14:20 UTC 2022
+# Fri Jul 22 08:59:57 UTC 2022
pkgbase = linux-cachyos-tt
pkgdesc = Linux TT scheduler Kernel by CachyOS with other patches and improvements
pkgver = 5.18.12
- pkgrel = 4
+ pkgrel = 5
url = https://github.com/CachyOS/linux-cachyos
arch = x86_64
arch = x86_64_v3
diff --git a/linux-cachyos-tt/PKGBUILD b/linux-cachyos-tt/PKGBUILD
index da2a230a..1ff2837a 100644
--- a/linux-cachyos-tt/PKGBUILD
+++ b/linux-cachyos-tt/PKGBUILD
@@ -142,7 +142,7 @@ _stable=${_major}.${_minor}
_srcname=linux-${_stable}
#_srcname=linux-${_major}
pkgdesc='Linux TT scheduler Kernel by CachyOS with other patches and improvements'
-pkgrel=4
+pkgrel=5
_kernver=$pkgver-$pkgrel
arch=('x86_64' 'x86_64_v3')
url="https://github.com/CachyOS/linux-cachyos"
@@ -345,8 +345,10 @@ prepare() {
scripts/config --disable HZ_300 \
--enable HZ_500 \
--set-val HZ 500
- elif [ "$_HZ_ticks" = "300" ]; then
+ else
echo "Setting tick rate to 300Hz..."
+ scripts/config --enable HZ_300 \
+ --set-val HZ 300
fi
### Disable NUMA
@@ -397,14 +399,14 @@ prepare() {
--disable NO_HZ_COMMON \
--enable HZ_PERIODIC
elif [ "$_tickrate" = "idle" ]; then
- echo "Enabling tickless idle..."
+ echo "Enabling idle ticks.."
scripts/config --disable HZ_PERIODIC \
--disable NO_HZ_FULL \
--enable NO_HZ_IDLE \
--enable NO_HZ \
--enable NO_HZ_COMMON
elif [ "$_tickrate" = "full" ]; then
- echo "Enabling tickless idle..."
+ echo "Enabling full ticks..."
scripts/config --disable HZ_PERIODIC \
--disable NO_HZ_IDLE \
--disable CONTEXT_TRACKING_FORCE \
@@ -413,6 +415,14 @@ prepare() {
--enable NO_HZ \
--enable NO_HZ_COMMON \
--enable CONTEXT_TRACKING
+ else
+ if [ -n "$_tickrate" ]; then
+ error "The value $_tickrate is invalid. Choose the correct one again."
+ else
+ error "The value is empty. Choose the correct one again."
+ fi
+ error "Selecting the tick rate failed!"
+ exit
fi
### Select preempt type
@@ -426,7 +436,7 @@ prepare() {
--enable PREEMPTION \
--enable PREEMPT_DYNAMIC
elif [ "$_preempt" = "voluntary" ]; then
- echo "Enabling tickless idle..."
+ echo "Enabling voluntary preempt..."
scripts/config --enable PREEMPT_BUILD \
--disable PREEMPT_NONE \
--enable PREEMPT_VOLUNTARY \
@@ -434,8 +444,8 @@ prepare() {
--enable PREEMPT_COUNT \
--enable PREEMPTION \
--disable PREEMPT_DYNAMIC
- elif [ "$_tickrate" = "server" ]; then
- echo "Enabling tickless idle..."
+ elif [ "$_preempt" = "server" ]; then
+ echo "Enabling server preempt..."
scripts/config --enable PREEMPT_NONE_BUILD \
--enable PREEMPT_NONE \
--disable PREEMPT_VOLUNTARY \
@@ -443,6 +453,14 @@ prepare() {
--disable PREEMPT_COUNT \
--disable PREEMPTION \
--disable PREEMPT_DYNAMIC
+ else
+ if [ -n "$_preempt" ]; then
+ error "The value $_preempt is invalid. Choose the correct one again."
+ else
+ error "The value is empty. Choose the correct one again."
+ fi
+ error "Selecting PREEMPT failed!"
+ exit
fi
### Enable O3
diff --git a/linux-cachyos/.SRCINFO b/linux-cachyos/.SRCINFO
index ce888281..d354293e 100644
--- a/linux-cachyos/.SRCINFO
+++ b/linux-cachyos/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by makepkg 6.0.1
-# Fri Jul 22 08:02:40 UTC 2022
+# Fri Jul 22 08:51:32 UTC 2022
pkgbase = linux-cachyos
pkgdesc = Linux BORE scheduler Kernel by CachyOS with other patches and improvements
pkgver = 5.18.12
- pkgrel = 4
+ pkgrel = 5
url = https://github.com/CachyOS/linux-cachyos
arch = x86_64
arch = x86_64_v3
diff --git a/linux-cachyos/PKGBUILD b/linux-cachyos/PKGBUILD
index 63e17e89..6eeeb9ae 100644
--- a/linux-cachyos/PKGBUILD
+++ b/linux-cachyos/PKGBUILD
@@ -142,7 +142,7 @@ _stable=${_major}.${_minor}
_srcname=linux-${_stable}
#_srcname=linux-${_major}
pkgdesc='Linux BORE scheduler Kernel by CachyOS with other patches and improvements'
-pkgrel=4
+pkgrel=5
_kernver=$pkgver-$pkgrel
arch=('x86_64' 'x86_64_v3')
url="https://github.com/CachyOS/linux-cachyos"
@@ -344,8 +344,10 @@ prepare() {
scripts/config --disable HZ_300 \
--enable HZ_500 \
--set-val HZ 500
- elif [ "$_HZ_ticks" = "300" ]; then
+ else
echo "Setting tick rate to 300Hz..."
+ scripts/config --enable HZ_300 \
+ --set-val HZ 300
fi
### Disable NUMA
@@ -396,14 +398,14 @@ prepare() {
--disable NO_HZ_COMMON \
--enable HZ_PERIODIC
elif [ "$_tickrate" = "idle" ]; then
- echo "Enabling tickless idle..."
+ echo "Enabling idle ticks.."
scripts/config --disable HZ_PERIODIC \
--disable NO_HZ_FULL \
--enable NO_HZ_IDLE \
--enable NO_HZ \
--enable NO_HZ_COMMON
elif [ "$_tickrate" = "full" ]; then
- echo "Enabling tickless idle..."
+ echo "Enabling full ticks..."
scripts/config --disable HZ_PERIODIC \
--disable NO_HZ_IDLE \
--disable CONTEXT_TRACKING_FORCE \
@@ -412,6 +414,14 @@ prepare() {
--enable NO_HZ \
--enable NO_HZ_COMMON \
--enable CONTEXT_TRACKING
+ else
+ if [ -n "$_tickrate" ]; then
+ error "The value $_tickrate is invalid. Choose the correct one again."
+ else
+ error "The value is empty. Choose the correct one again."
+ fi
+ error "Selecting the tick rate failed!"
+ exit
fi
### Select preempt type
@@ -425,7 +435,7 @@ prepare() {
--enable PREEMPTION \
--enable PREEMPT_DYNAMIC
elif [ "$_preempt" = "voluntary" ]; then
- echo "Enabling tickless idle..."
+ echo "Enabling voluntary preempt..."
scripts/config --enable PREEMPT_BUILD \
--disable PREEMPT_NONE \
--enable PREEMPT_VOLUNTARY \
@@ -433,8 +443,8 @@ prepare() {
--enable PREEMPT_COUNT \
--enable PREEMPTION \
--disable PREEMPT_DYNAMIC
- elif [ "$_tickrate" = "server" ]; then
- echo "Enabling tickless idle..."
+ elif [ "$_preempt" = "server" ]; then
+ echo "Enabling server preempt..."
scripts/config --enable PREEMPT_NONE_BUILD \
--enable PREEMPT_NONE \
--disable PREEMPT_VOLUNTARY \
@@ -442,6 +452,14 @@ prepare() {
--disable PREEMPT_COUNT \
--disable PREEMPTION \
--disable PREEMPT_DYNAMIC
+ else
+ if [ -n "$_preempt" ]; then
+ error "The value $_preempt is invalid. Choose the correct one again."
+ else
+ error "The value is empty. Choose the correct one again."
+ fi
+ error "Selecting PREEMPT failed!"
+ exit
fi
### Enable O3
diff --git a/linux-cacule-rdb/.SRCINFO b/linux-cacule-rdb/.SRCINFO
index abcd136e..b63f0fdf 100644
--- a/linux-cacule-rdb/.SRCINFO
+++ b/linux-cacule-rdb/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by makepkg 6.0.1
-# Fri Jul 22 08:16:11 UTC 2022
+# Fri Jul 22 09:01:22 UTC 2022
pkgbase = linux-cacule-rdb
pkgdesc = Linux cacULE-RDB scheduler Kernel by CachyOS with other patches and improvements
pkgver = 5.18.12
- pkgrel = 4
+ pkgrel = 5
url = https://github.com/CachyOS/linux-cachyos
arch = x86_64
arch = x86_64_v3
diff --git a/linux-cacule-rdb/PKGBUILD b/linux-cacule-rdb/PKGBUILD
index 0f09a1b9..2682b65e 100644
--- a/linux-cacule-rdb/PKGBUILD
+++ b/linux-cacule-rdb/PKGBUILD
@@ -142,7 +142,7 @@ _stable=${_major}.${_minor}
_srcname=linux-${_stable}
#_srcname=linux-${_major}
pkgdesc='Linux cacULE-RDB scheduler Kernel by CachyOS with other patches and improvements'
-pkgrel=4
+pkgrel=5
_kernver=$pkgver-$pkgrel
arch=('x86_64' 'x86_64_v3')
url="https://github.com/CachyOS/linux-cachyos"
@@ -344,8 +344,10 @@ prepare() {
scripts/config --disable HZ_300 \
--enable HZ_500 \
--set-val HZ 500
- elif [ "$_HZ_ticks" = "300" ]; then
+ else
echo "Setting tick rate to 300Hz..."
+ scripts/config --enable HZ_300 \
+ --set-val HZ 300
fi
### Disable NUMA
@@ -396,14 +398,14 @@ prepare() {
--disable NO_HZ_COMMON \
--enable HZ_PERIODIC
elif [ "$_tickrate" = "idle" ]; then
- echo "Enabling tickless idle..."
+ echo "Enabling idle ticks.."
scripts/config --disable HZ_PERIODIC \
--disable NO_HZ_FULL \
--enable NO_HZ_IDLE \
--enable NO_HZ \
--enable NO_HZ_COMMON
elif [ "$_tickrate" = "full" ]; then
- echo "Enabling tickless idle..."
+ echo "Enabling full ticks..."
scripts/config --disable HZ_PERIODIC \
--disable NO_HZ_IDLE \
--disable CONTEXT_TRACKING_FORCE \
@@ -412,6 +414,14 @@ prepare() {
--enable NO_HZ \
--enable NO_HZ_COMMON \
--enable CONTEXT_TRACKING
+ else
+ if [ -n "$_tickrate" ]; then
+ error "The value $_tickrate is invalid. Choose the correct one again."
+ else
+ error "The value is empty. Choose the correct one again."
+ fi
+ error "Selecting the tick rate failed!"
+ exit
fi
### Select preempt type
@@ -425,7 +435,7 @@ prepare() {
--enable PREEMPTION \
--enable PREEMPT_DYNAMIC
elif [ "$_preempt" = "voluntary" ]; then
- echo "Enabling tickless idle..."
+ echo "Enabling voluntary preempt..."
scripts/config --enable PREEMPT_BUILD \
--disable PREEMPT_NONE \
--enable PREEMPT_VOLUNTARY \
@@ -433,8 +443,8 @@ prepare() {
--enable PREEMPT_COUNT \
--enable PREEMPTION \
--disable PREEMPT_DYNAMIC
- elif [ "$_tickrate" = "server" ]; then
- echo "Enabling tickless idle..."
+ elif [ "$_preempt" = "server" ]; then
+ echo "Enabling server preempt..."
scripts/config --enable PREEMPT_NONE_BUILD \
--enable PREEMPT_NONE \
--disable PREEMPT_VOLUNTARY \
@@ -442,6 +452,14 @@ prepare() {
--disable PREEMPT_COUNT \
--disable PREEMPTION \
--disable PREEMPT_DYNAMIC
+ else
+ if [ -n "$_preempt" ]; then
+ error "The value $_preempt is invalid. Choose the correct one again."
+ else
+ error "The value is empty. Choose the correct one again."
+ fi
+ error "Selecting PREEMPT failed!"
+ exit
fi
### Enable O3
diff --git a/linux-cacule/.SRCINFO b/linux-cacule/.SRCINFO
index 1033eadf..2d295874 100644
--- a/linux-cacule/.SRCINFO
+++ b/linux-cacule/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by makepkg 6.0.1
-# Fri Jul 22 08:15:22 UTC 2022
+# Fri Jul 22 09:00:44 UTC 2022
pkgbase = linux-cacule
pkgdesc = Linux cacULE scheduler Kernel by CachyOS with other patches and improvements
pkgver = 5.18.12
- pkgrel = 4
+ pkgrel = 5
url = https://github.com/CachyOS/linux-cachyos
arch = x86_64
arch = x86_64_v3
diff --git a/linux-cacule/PKGBUILD b/linux-cacule/PKGBUILD
index 2e8b22ba..b21c94e3 100644
--- a/linux-cacule/PKGBUILD
+++ b/linux-cacule/PKGBUILD
@@ -135,7 +135,7 @@ _stable=${_major}.${_minor}
_srcname=linux-${_stable}
#_srcname=linux-${_major}
pkgdesc='Linux cacULE scheduler Kernel by CachyOS with other patches and improvements'
-pkgrel=4
+pkgrel=5
_kernver=$pkgver-$pkgrel
arch=('x86_64' 'x86_64_v3')
url="https://github.com/CachyOS/linux-cachyos"
@@ -338,8 +338,10 @@ prepare() {
scripts/config --disable HZ_300 \
--enable HZ_500 \
--set-val HZ 500
- elif [ "$_HZ_ticks" = "300" ]; then
+ else
echo "Setting tick rate to 300Hz..."
+ scripts/config --enable HZ_300 \
+ --set-val HZ 300
fi
### Disable NUMA
@@ -390,14 +392,14 @@ prepare() {
--disable NO_HZ_COMMON \
--enable HZ_PERIODIC
elif [ "$_tickrate" = "idle" ]; then
- echo "Enabling tickless idle..."
+ echo "Enabling idle ticks.."
scripts/config --disable HZ_PERIODIC \
--disable NO_HZ_FULL \
--enable NO_HZ_IDLE \
--enable NO_HZ \
--enable NO_HZ_COMMON
elif [ "$_tickrate" = "full" ]; then
- echo "Enabling tickless idle..."
+ echo "Enabling full ticks..."
scripts/config --disable HZ_PERIODIC \
--disable NO_HZ_IDLE \
--disable CONTEXT_TRACKING_FORCE \
@@ -406,6 +408,14 @@ prepare() {
--enable NO_HZ \
--enable NO_HZ_COMMON \
--enable CONTEXT_TRACKING
+ else
+ if [ -n "$_tickrate" ]; then
+ error "The value $_tickrate is invalid. Choose the correct one again."
+ else
+ error "The value is empty. Choose the correct one again."
+ fi
+ error "Selecting the tick rate failed!"
+ exit
fi
### Select preempt type
@@ -419,7 +429,7 @@ prepare() {
--enable PREEMPTION \
--enable PREEMPT_DYNAMIC
elif [ "$_preempt" = "voluntary" ]; then
- echo "Enabling tickless idle..."
+ echo "Enabling voluntary preempt..."
scripts/config --enable PREEMPT_BUILD \
--disable PREEMPT_NONE \
--enable PREEMPT_VOLUNTARY \
@@ -427,8 +437,8 @@ prepare() {
--enable PREEMPT_COUNT \
--enable PREEMPTION \
--disable PREEMPT_DYNAMIC
- elif [ "$_tickrate" = "server" ]; then
- echo "Enabling tickless idle..."
+ elif [ "$_preempt" = "server" ]; then
+ echo "Enabling server preempt..."
scripts/config --enable PREEMPT_NONE_BUILD \
--enable PREEMPT_NONE \
--disable PREEMPT_VOLUNTARY \
@@ -436,6 +446,14 @@ prepare() {
--disable PREEMPT_COUNT \
--disable PREEMPTION \
--disable PREEMPT_DYNAMIC
+ else
+ if [ -n "$_preempt" ]; then
+ error "The value $_preempt is invalid. Choose the correct one again."
+ else
+ error "The value is empty. Choose the correct one again."
+ fi
+ error "Selecting PREEMPT failed!"
+ exit
fi
### Enable O3
diff --git a/linux-tt/.SRCINFO b/linux-tt/.SRCINFO
index 761830fa..7567fb49 100644
--- a/linux-tt/.SRCINFO
+++ b/linux-tt/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by makepkg 6.0.1
-# Fri Jul 22 08:17:16 UTC 2022
+# Fri Jul 22 09:01:56 UTC 2022
pkgbase = linux-tt
pkgdesc = Linux TT scheduler Kernel by CachyOS with other patches and improvements
pkgver = 5.18.12
- pkgrel = 4
+ pkgrel = 5
url = https://github.com/CachyOS/linux-cachyos
arch = x86_64
arch = x86_64_v3
diff --git a/linux-tt/PKGBUILD b/linux-tt/PKGBUILD
index 1d170d97..d8d7c04e 100644
--- a/linux-tt/PKGBUILD
+++ b/linux-tt/PKGBUILD
@@ -142,7 +142,7 @@ _stable=${_major}.${_minor}
_srcname=linux-${_stable}
#_srcname=linux-${_major}
pkgdesc='Linux TT scheduler Kernel by CachyOS with other patches and improvements'
-pkgrel=4
+pkgrel=5
_kernver=$pkgver-$pkgrel
arch=('x86_64' 'x86_64_v3')
url="https://github.com/CachyOS/linux-cachyos"
@@ -344,8 +344,10 @@ prepare() {
scripts/config --disable HZ_300 \
--enable HZ_500 \
--set-val HZ 500
- elif [ "$_HZ_ticks" = "300" ]; then
+ else
echo "Setting tick rate to 300Hz..."
+ scripts/config --enable HZ_300 \
+ --set-val HZ 300
fi
### Disable NUMA
@@ -396,14 +398,14 @@ prepare() {
--disable NO_HZ_COMMON \
--enable HZ_PERIODIC
elif [ "$_tickrate" = "idle" ]; then
- echo "Enabling tickless idle..."
+ echo "Enabling idle ticks.."
scripts/config --disable HZ_PERIODIC \
--disable NO_HZ_FULL \
--enable NO_HZ_IDLE \
--enable NO_HZ \
--enable NO_HZ_COMMON
elif [ "$_tickrate" = "full" ]; then
- echo "Enabling tickless idle..."
+ echo "Enabling full ticks..."
scripts/config --disable HZ_PERIODIC \
--disable NO_HZ_IDLE \
--disable CONTEXT_TRACKING_FORCE \
@@ -412,6 +414,14 @@ prepare() {
--enable NO_HZ \
--enable NO_HZ_COMMON \
--enable CONTEXT_TRACKING
+ else
+ if [ -n "$_tickrate" ]; then
+ error "The value $_tickrate is invalid. Choose the correct one again."
+ else
+ error "The value is empty. Choose the correct one again."
+ fi
+ error "Selecting the tick rate failed!"
+ exit
fi
### Select preempt type
@@ -425,7 +435,7 @@ prepare() {
--enable PREEMPTION \
--enable PREEMPT_DYNAMIC
elif [ "$_preempt" = "voluntary" ]; then
- echo "Enabling tickless idle..."
+ echo "Enabling voluntary preempt..."
scripts/config --enable PREEMPT_BUILD \
--disable PREEMPT_NONE \
--enable PREEMPT_VOLUNTARY \
@@ -433,8 +443,8 @@ prepare() {
--enable PREEMPT_COUNT \
--enable PREEMPTION \
--disable PREEMPT_DYNAMIC
- elif [ "$_tickrate" = "server" ]; then
- echo "Enabling tickless idle..."
+ elif [ "$_preempt" = "server" ]; then
+ echo "Enabling server preempt..."
scripts/config --enable PREEMPT_NONE_BUILD \
--enable PREEMPT_NONE \
--disable PREEMPT_VOLUNTARY \
@@ -442,6 +452,14 @@ prepare() {
--disable PREEMPT_COUNT \
--disable PREEMPTION \
--disable PREEMPT_DYNAMIC
+ else
+ if [ -n "$_preempt" ]; then
+ error "The value $_preempt is invalid. Choose the correct one again."
+ else
+ error "The value is empty. Choose the correct one again."
+ fi
+ error "Selecting PREEMPT failed!"
+ exit
fi
### Enable O3