Skip to content

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

linux-cachyos-rc: Remove voluntary and none preempt values

Eric Naimf8f1ad86f318
diff --git a/linux-cachyos-rc/PKGBUILD b/linux-cachyos-rc/PKGBUILD
index 6ffd0cea..39b7ad05 100644
--- a/linux-cachyos-rc/PKGBUILD
+++ b/linux-cachyos-rc/PKGBUILD
@@ -64,7 +64,7 @@
### Full tickless can give higher performances in various cases but, depending on hardware, lower consistency.
: "${_tickrate:=full}"
-## Choose between full(low-latency), lazy, voluntary or none
+## Choose between full or lazy
: "${_preempt:=full}"
### Transparent Hugepages
@@ -391,10 +391,8 @@ prepare() {
# We should not set up the PREEMPT for RT kernels
if [[ "$_cpusched" != "rt" && "$_cpusched" != "rt-bore" ]]; then
case "$_preempt" in
- full) scripts/config -e PREEMPT_DYNAMIC -e PREEMPT -d PREEMPT_VOLUNTARY -d PREEMPT_LAZY -d PREEMPT_NONE;;
- lazy) scripts/config -e PREEMPT_DYNAMIC -d PREEMPT -d PREEMPT_VOLUNTARY -e PREEMPT_LAZY -d PREEMPT_NONE;;
- voluntary) scripts/config -d PREEMPT_DYNAMIC -d PREEMPT -e PREEMPT_VOLUNTARY -d PREEMPT_LAZY -d PREEMPT_NONE;;
- none) scripts/config -d PREEMPT_DYNAMIC -d PREEMPT -d PREEMPT_VOLUNTARY -d PREEMPT_LAZY -e PREEMPT_NONE;;
+ full) scripts/config -e PREEMPT_DYNAMIC -e PREEMPT -d PREEMPT_LAZY;;
+ lazy) scripts/config -e PREEMPT_DYNAMIC -d PREEMPT -e PREEMPT_LAZY;;
*) _die "The value '$_preempt' is invalid. Choose the correct one again.";;
esac