Archlinux Kernel based on different schedulers and some other performance improvements.
Shell archlinuxbaby-schedcachycachy-schedulercachyoscacule-schedkernellinux-kernelperformanceperformance-tuning
Correct logical operation for RT kernels (#514)
Mario Roy7b3d800c3329
diff --git a/linux-cachyos-bmq/PKGBUILD b/linux-cachyos-bmq/PKGBUILDindex 9c029a10..3bde6be6 100644--- a/linux-cachyos-bmq/PKGBUILD+++ b/linux-cachyos-bmq/PKGBUILD@@ -345,7 +345,7 @@ prepare() {### Select preempt type# We should not set up the PREEMPT for RT kernels- if [[ "$_cpusched" != "rt" || "$_cpusched" != "rt-bore" ]]; then+ if [[ "$_cpusched" != "rt" && "$_cpusched" != "rt-bore" ]]; thencase "$_preempt" infull) 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;;diff --git a/linux-cachyos-bore/PKGBUILD b/linux-cachyos-bore/PKGBUILDindex 51ad0ab7..fa5cd4b9 100644--- a/linux-cachyos-bore/PKGBUILD+++ b/linux-cachyos-bore/PKGBUILD@@ -345,7 +345,7 @@ prepare() {### Select preempt type# We should not set up the PREEMPT for RT kernels- if [[ "$_cpusched" != "rt" || "$_cpusched" != "rt-bore" ]]; then+ if [[ "$_cpusched" != "rt" && "$_cpusched" != "rt-bore" ]]; thencase "$_preempt" infull) 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;;diff --git a/linux-cachyos-deckify/PKGBUILD b/linux-cachyos-deckify/PKGBUILDindex 58aa3bbf..f3ac4224 100644--- a/linux-cachyos-deckify/PKGBUILD+++ b/linux-cachyos-deckify/PKGBUILD@@ -346,7 +346,7 @@ prepare() {### Select preempt type# We should not set up the PREEMPT for RT kernels- if [[ "$_cpusched" != "rt" || "$_cpusched" != "rt-bore" ]]; then+ if [[ "$_cpusched" != "rt" && "$_cpusched" != "rt-bore" ]]; thencase "$_preempt" infull) 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;;diff --git a/linux-cachyos-eevdf/PKGBUILD b/linux-cachyos-eevdf/PKGBUILDindex 7b5a69d4..9fe0292e 100644--- a/linux-cachyos-eevdf/PKGBUILD+++ b/linux-cachyos-eevdf/PKGBUILD@@ -345,7 +345,7 @@ prepare() {### Select preempt type# We should not set up the PREEMPT for RT kernels- if [[ "$_cpusched" != "rt" || "$_cpusched" != "rt-bore" ]]; then+ if [[ "$_cpusched" != "rt" && "$_cpusched" != "rt-bore" ]]; thencase "$_preempt" infull) 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;;diff --git a/linux-cachyos-hardened/PKGBUILD b/linux-cachyos-hardened/PKGBUILDindex 05be07c5..640af4dd 100644--- a/linux-cachyos-hardened/PKGBUILD+++ b/linux-cachyos-hardened/PKGBUILD@@ -347,7 +347,7 @@ prepare() {### Select preempt type# We should not set up the PREEMPT for RT kernels- if [[ "$_cpusched" != "rt" || "$_cpusched" != "rt-bore" ]]; then+ if [[ "$_cpusched" != "rt" && "$_cpusched" != "rt-bore" ]]; thencase "$_preempt" infull) 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;;diff --git a/linux-cachyos-lts/PKGBUILD b/linux-cachyos-lts/PKGBUILDindex 9f22f087..caefce02 100644--- a/linux-cachyos-lts/PKGBUILD+++ b/linux-cachyos-lts/PKGBUILD@@ -348,7 +348,7 @@ prepare() {### Select preempt type# We should not set up the PREEMPT for RT kernels- if [[ "$_cpusched" != "rt" || "$_cpusched" != "rt-bore" ]]; then+ if [[ "$_cpusched" != "rt" && "$_cpusched" != "rt-bore" ]]; thencase "$_preempt" infull) scripts/config -e PREEMPT_DYNAMIC -e PREEMPT -d PREEMPT_VOLUNTARY -d PREEMPT_LAZY -d PREEMPT_NONE;;voluntary) scripts/config -d PREEMPT_DYNAMIC -d PREEMPT -e PREEMPT_VOLUNTARY -d PREEMPT_LAZY -d PREEMPT_NONE;;diff --git a/linux-cachyos-rc/PKGBUILD b/linux-cachyos-rc/PKGBUILDindex df889d6f..ba1a4105 100644--- a/linux-cachyos-rc/PKGBUILD+++ b/linux-cachyos-rc/PKGBUILD@@ -386,7 +386,7 @@ prepare() {### Select preempt type# We should not set up the PREEMPT for RT kernels- if [[ "$_cpusched" != "rt" || "$_cpusched" != "rt-bore" ]]; then+ if [[ "$_cpusched" != "rt" && "$_cpusched" != "rt-bore" ]]; thencase "$_preempt" infull) 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;;diff --git a/linux-cachyos-rt-bore/PKGBUILD b/linux-cachyos-rt-bore/PKGBUILDindex eca39c3c..7c4dc81a 100644--- a/linux-cachyos-rt-bore/PKGBUILD+++ b/linux-cachyos-rt-bore/PKGBUILD@@ -345,7 +345,7 @@ prepare() {### Select preempt type# We should not set up the PREEMPT for RT kernels- if [[ "$_cpusched" != "rt" || "$_cpusched" != "rt-bore" ]]; then+ if [[ "$_cpusched" != "rt" && "$_cpusched" != "rt-bore" ]]; thencase "$_preempt" infull) 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;;diff --git a/linux-cachyos-server/PKGBUILD b/linux-cachyos-server/PKGBUILDindex 26f00d63..4aaf97ca 100644--- a/linux-cachyos-server/PKGBUILD+++ b/linux-cachyos-server/PKGBUILD@@ -345,7 +345,7 @@ prepare() {### Select preempt type# We should not set up the PREEMPT for RT kernels- if [[ "$_cpusched" != "rt" || "$_cpusched" != "rt-bore" ]]; then+ if [[ "$_cpusched" != "rt" && "$_cpusched" != "rt-bore" ]]; thencase "$_preempt" infull) 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;;diff --git a/linux-cachyos/PKGBUILD b/linux-cachyos/PKGBUILDindex d0198cd3..f218a5ea 100644--- a/linux-cachyos/PKGBUILD+++ b/linux-cachyos/PKGBUILD@@ -386,7 +386,7 @@ prepare() {### Select preempt type# We should not set up the PREEMPT for RT kernels- if [[ "$_cpusched" != "rt" || "$_cpusched" != "rt-bore" ]]; then+ if [[ "$_cpusched" != "rt" && "$_cpusched" != "rt-bore" ]]; thencase "$_preempt" infull) 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;;