Archlinux Kernel based on different schedulers and some other performance improvements.
Shell archlinuxbaby-schedcachycachy-schedulercachyoscacule-schedkernellinux-kernelperformanceperformance-tuning
-lto suffix rework (#223)
Piotr Górskia180c6d265ca
diff --git a/linux-bore/PKGBUILD b/linux-bore/PKGBUILDindex eb24ebc5..f3420b95 100644--- a/linux-bore/PKGBUILD+++ b/linux-bore/PKGBUILD@@ -134,7 +134,8 @@ _use_llvm_lto=${_use_llvm_lto-none}# Use suffix -lto only when requested by the user# Enabled by default.-# If you do not want the suffix -lto remove the "y" sign next to the flag.+# y - enable -lto suffix+# n - disable -lto suffix# https://github.com/CachyOS/linux-cachyos/issues/36_use_lto_suffix=${_use_lto_suffix-y}@@ -155,11 +156,11 @@ _build_zfs=${_build_zfs-}# This does replace the requirement of nvidia-dkms_build_nvidia=${_build_nvidia-}-if [[ "$_use_llvm_lto" = "thin" || "$_use_llvm_lto" = "full" ]] && [ -n "$_use_lto_suffix" ]; then+if [[ "$_use_llvm_lto" = "thin" || "$_use_llvm_lto" = "full" ]] && [ "$_use_lto_suffix" = "y" ]; thenpkgsuffix=${_cpusched}-ltopkgbase=linux-$pkgsuffix-else+elif [ -n "$_use_llvm_lto" ] || [[ "$_use_lto_suffix" = "n" ]]; thenpkgsuffix=${_cpusched}pkgbase=linux-$pkgsuffixfidiff --git a/linux-cachyos-bore/PKGBUILD b/linux-cachyos-bore/PKGBUILDindex 3ce2c8e3..ebf3c6f9 100644--- a/linux-cachyos-bore/PKGBUILD+++ b/linux-cachyos-bore/PKGBUILD@@ -134,7 +134,8 @@ _use_llvm_lto=${_use_llvm_lto-none}# Use suffix -lto only when requested by the user# Enabled by default.-# If you do not want the suffix -lto remove the "y" sign next to the flag.+# y - enable -lto suffix+# n - disable -lto suffix# https://github.com/CachyOS/linux-cachyos/issues/36_use_lto_suffix=${_use_lto_suffix-y}@@ -155,11 +156,11 @@ _build_zfs=${_build_zfs-}# This does replace the requirement of nvidia-dkms_build_nvidia=${_build_nvidia-}-if [[ "$_use_llvm_lto" = "thin" || "$_use_llvm_lto" = "full" ]] && [ -n "$_use_lto_suffix" ]; then+if [[ "$_use_llvm_lto" = "thin" || "$_use_llvm_lto" = "full" ]] && [ "$_use_lto_suffix" = "y" ]; thenpkgsuffix=cachyos-${_cpusched}-ltopkgbase=linux-$pkgsuffix-else+elif [ -n "$_use_llvm_lto" ] || [[ "$_use_lto_suffix" = "n" ]]; thenpkgsuffix=cachyos-${_cpusched}pkgbase=linux-$pkgsuffixfidiff --git a/linux-cachyos-eevdf/PKGBUILD b/linux-cachyos-eevdf/PKGBUILDindex 7559856f..6dd1567b 100644--- a/linux-cachyos-eevdf/PKGBUILD+++ b/linux-cachyos-eevdf/PKGBUILD@@ -134,7 +134,8 @@ _use_llvm_lto=${_use_llvm_lto-none}# Use suffix -lto only when requested by the user# Enabled by default.-# If you do not want the suffix -lto remove the "y" sign next to the flag.+# y - enable -lto suffix+# n - disable -lto suffix# https://github.com/CachyOS/linux-cachyos/issues/36_use_lto_suffix=${_use_lto_suffix-y}@@ -155,11 +156,11 @@ _build_zfs=${_build_zfs-}# This does replace the requirement of nvidia-dkms_build_nvidia=${_build_nvidia-}-if [[ "$_use_llvm_lto" = "thin" || "$_use_llvm_lto" = "full" ]] && [ -n "$_use_lto_suffix" ]; then+if [[ "$_use_llvm_lto" = "thin" || "$_use_llvm_lto" = "full" ]] && [ "$_use_lto_suffix" = "y" ]; thenpkgsuffix=cachyos-${_cpusched}-ltopkgbase=linux-$pkgsuffix-else+elif [ -n "$_use_llvm_lto" ] || [[ "$_use_lto_suffix" = "n" ]]; thenpkgsuffix=cachyos-${_cpusched}pkgbase=linux-$pkgsuffixfidiff --git a/linux-cachyos-hardened/PKGBUILD b/linux-cachyos-hardened/PKGBUILDindex 53856719..c9d8e899 100644--- a/linux-cachyos-hardened/PKGBUILD+++ b/linux-cachyos-hardened/PKGBUILD@@ -135,7 +135,8 @@ _use_llvm_lto=${_use_llvm_lto-none}# Use suffix -lto only when requested by the user# Enabled by default.-# If you do not want the suffix -lto remove the "y" sign next to the flag.+# y - enable -lto suffix+# n - disable -lto suffix# https://github.com/CachyOS/linux-cachyos/issues/36_use_lto_suffix=${_use_lto_suffix-y}@@ -159,11 +160,11 @@ _build_nvidia=${_build_nvidia-}# Enable bcachefs_bcachefs=${_bcachefs-}-if [[ "$_use_llvm_lto" = "thin" || "$_use_llvm_lto" = "full" ]] && [ -n "$_use_lto_suffix" ]; then+if [[ "$_use_llvm_lto" = "thin" || "$_use_llvm_lto" = "full" ]] && [ "$_use_lto_suffix" = "y" ]; thenpkgsuffix=cachyos-${_cpusched}-ltopkgbase=linux-$pkgsuffix-else+elif [ -n "$_use_llvm_lto" ] || [[ "$_use_lto_suffix" = "n" ]]; thenpkgsuffix=cachyos-${_cpusched}pkgbase=linux-$pkgsuffixfidiff --git a/linux-cachyos-lts/PKGBUILD b/linux-cachyos-lts/PKGBUILDindex 77da5d6d..fdd29b2b 100644--- a/linux-cachyos-lts/PKGBUILD+++ b/linux-cachyos-lts/PKGBUILD@@ -133,7 +133,8 @@ _use_llvm_lto=${_use_llvm_lto-none}# Use suffix -lto only when requested by the user# Enabled by default.-# If you do not want the suffix -lto remove the "y" sign next to the flag.+# y - enable -lto suffix+# n - disable -lto suffix# https://github.com/CachyOS/linux-cachyos/issues/36_use_lto_suffix=${_use_lto_suffix-y}@@ -157,11 +158,11 @@ _build_nvidia=${_build_nvidia-}# Enable bcachefs_bcachefs=${_bcachefs-}-if [[ "$_use_llvm_lto" = "thin" || "$_use_llvm_lto" = "full" ]] && [ -n "$_use_lto_suffix" ]; then+if [[ "$_use_llvm_lto" = "thin" || "$_use_llvm_lto" = "full" ]] && [ "$_use_lto_suffix" = "y" ]; thenpkgsuffix=cachyos-lts-ltopkgbase=linux-$pkgsuffix-else+elif [ -n "$_use_llvm_lto" ] || [[ "$_use_lto_suffix" = "n" ]]; thenpkgsuffix=cachyos-ltspkgbase=linux-$pkgsuffixfidiff --git a/linux-cachyos-rc/PKGBUILD b/linux-cachyos-rc/PKGBUILDindex 8c525dc2..bb7ce44e 100644--- a/linux-cachyos-rc/PKGBUILD+++ b/linux-cachyos-rc/PKGBUILD@@ -134,7 +134,8 @@ _use_llvm_lto=${_use_llvm_lto-none}# Use suffix -lto only when requested by the user# Enabled by default.-# If you do not want the suffix -lto remove the "y" sign next to the flag.+# y - enable -lto suffix+# n - disable -lto suffix# https://github.com/CachyOS/linux-cachyos/issues/36_use_lto_suffix=${_use_lto_suffix-y}@@ -155,11 +156,11 @@ _build_zfs=${_build_zfs-}# This does replace the requirement of nvidia-dkms_build_nvidia=${_build_nvidia-}-if [[ "$_use_llvm_lto" = "thin" || "$_use_llvm_lto" = "full" ]] && [ -n "$_use_lto_suffix" ]; then+if [[ "$_use_llvm_lto" = "thin" || "$_use_llvm_lto" = "full" ]] && [ "$_use_lto_suffix" = "y" ]; thenpkgsuffix=cachyos-rc-ltopkgbase=linux-$pkgsuffix-else+elif [ -n "$_use_llvm_lto" ] || [[ "$_use_lto_suffix" = "n" ]]; thenpkgsuffix=cachyos-rcpkgbase=linux-$pkgsuffixfidiff --git a/linux-cachyos-rt-bore/PKGBUILD b/linux-cachyos-rt-bore/PKGBUILDindex 72da16d0..a4ea172e 100644--- a/linux-cachyos-rt-bore/PKGBUILD+++ b/linux-cachyos-rt-bore/PKGBUILD@@ -134,7 +134,8 @@ _use_llvm_lto=${_use_llvm_lto-none}# Use suffix -lto only when requested by the user# Enabled by default.-# If you do not want the suffix -lto remove the "y" sign next to the flag.+# y - enable -lto suffix+# n - disable -lto suffix# https://github.com/CachyOS/linux-cachyos/issues/36_use_lto_suffix=${_use_lto_suffix-y}@@ -155,11 +156,11 @@ _build_zfs=${_build_zfs-}# This does replace the requirement of nvidia-dkms_build_nvidia=${_build_nvidia-}-if [[ "$_use_llvm_lto" = "thin" || "$_use_llvm_lto" = "full" ]] && [ -n "$_use_lto_suffix" ]; then+if [[ "$_use_llvm_lto" = "thin" || "$_use_llvm_lto" = "full" ]] && [ "$_use_lto_suffix" = "y" ]; thenpkgsuffix=cachyos-${_cpusched}-ltopkgbase=linux-$pkgsuffix-else+elif [ -n "$_use_llvm_lto" ] || [[ "$_use_lto_suffix" = "n" ]]; thenpkgsuffix=cachyos-${_cpusched}pkgbase=linux-$pkgsuffixfidiff --git a/linux-cachyos-rt/PKGBUILD b/linux-cachyos-rt/PKGBUILDindex d50bd0d4..5cfa6f25 100644--- a/linux-cachyos-rt/PKGBUILD+++ b/linux-cachyos-rt/PKGBUILD@@ -134,7 +134,8 @@ _use_llvm_lto=${_use_llvm_lto-none}# Use suffix -lto only when requested by the user# Enabled by default.-# If you do not want the suffix -lto remove the "y" sign next to the flag.+# y - enable -lto suffix+# n - disable -lto suffix# https://github.com/CachyOS/linux-cachyos/issues/36_use_lto_suffix=${_use_lto_suffix-y}@@ -155,11 +156,11 @@ _build_zfs=${_build_zfs-}# This does replace the requirement of nvidia-dkms_build_nvidia=${_build_nvidia-}-if [[ "$_use_llvm_lto" = "thin" || "$_use_llvm_lto" = "full" ]] && [ -n "$_use_lto_suffix" ]; then+if [[ "$_use_llvm_lto" = "thin" || "$_use_llvm_lto" = "full" ]] && [ "$_use_lto_suffix" = "y" ]; thenpkgsuffix=cachyos-${_cpusched}-ltopkgbase=linux-$pkgsuffix-else+elif [ -n "$_use_llvm_lto" ] || [[ "$_use_lto_suffix" = "n" ]]; thenpkgsuffix=cachyos-${_cpusched}pkgbase=linux-$pkgsuffixfidiff --git a/linux-cachyos-sched-ext/PKGBUILD b/linux-cachyos-sched-ext/PKGBUILDindex eb487eaf..83877987 100644--- a/linux-cachyos-sched-ext/PKGBUILD+++ b/linux-cachyos-sched-ext/PKGBUILD@@ -134,7 +134,8 @@ _use_llvm_lto=${_use_llvm_lto-none}# Use suffix -lto only when requested by the user# Enabled by default.-# If you do not want the suffix -lto remove the "y" sign next to the flag.+# y - enable -lto suffix+# n - disable -lto suffix# https://github.com/CachyOS/linux-cachyos/issues/36_use_lto_suffix=${_use_lto_suffix-y}@@ -155,11 +156,11 @@ _build_zfs=${_build_zfs-}# This does replace the requirement of nvidia-dkms_build_nvidia=${_build_nvidia-}-if [[ "$_use_llvm_lto" = "thin" || "$_use_llvm_lto" = "full" ]] && [ -n "$_use_lto_suffix" ]; then+if [[ "$_use_llvm_lto" = "thin" || "$_use_llvm_lto" = "full" ]] && [ "$_use_lto_suffix" = "y" ]; thenpkgsuffix=cachyos-${_cpusched}-ltopkgbase=linux-$pkgsuffix-else+elif [ -n "$_use_llvm_lto" ] || [[ "$_use_lto_suffix" = "n" ]]; thenpkgsuffix=cachyos-${_cpusched}pkgbase=linux-$pkgsuffixfidiff --git a/linux-cachyos-server/PKGBUILD b/linux-cachyos-server/PKGBUILDindex d5e458e0..bd2d2c9a 100644--- a/linux-cachyos-server/PKGBUILD+++ b/linux-cachyos-server/PKGBUILD@@ -134,7 +134,8 @@ _use_llvm_lto=${_use_llvm_lto-none}# Use suffix -lto only when requested by the user# Enabled by default.-# If you do not want the suffix -lto remove the "y" sign next to the flag.+# y - enable -lto suffix+# n - disable -lto suffix# https://github.com/CachyOS/linux-cachyos/issues/36_use_lto_suffix=${_use_lto_suffix-y}@@ -155,11 +156,11 @@ _build_zfs=${_build_zfs-}# This does replace the requirement of nvidia-dkms_build_nvidia=${_build_nvidia-}-if [[ "$_use_llvm_lto" = "thin" || "$_use_llvm_lto" = "full" ]] && [ -n "$_use_lto_suffix" ]; then+if [[ "$_use_llvm_lto" = "thin" || "$_use_llvm_lto" = "full" ]] && [ "$_use_lto_suffix" = "y" ]; thenpkgsuffix=cachyos-server-ltopkgbase=linux-$pkgsuffix-else+elif [ -n "$_use_llvm_lto" ] || [[ "$_use_lto_suffix" = "n" ]]; thenpkgsuffix=cachyos-serverpkgbase=linux-$pkgsuffixfidiff --git a/linux-cachyos/PKGBUILD b/linux-cachyos/PKGBUILDindex 1d403c62..4cda2407 100644--- a/linux-cachyos/PKGBUILD+++ b/linux-cachyos/PKGBUILD@@ -134,7 +134,8 @@ _use_llvm_lto=${_use_llvm_lto-none}# Use suffix -lto only when requested by the user# Enabled by default.-# If you do not want the suffix -lto remove the "y" sign next to the flag.+# y - enable -lto suffix+# n - disable -lto suffix# https://github.com/CachyOS/linux-cachyos/issues/36_use_lto_suffix=${_use_lto_suffix-y}@@ -155,11 +156,11 @@ _build_zfs=${_build_zfs-}# This does replace the requirement of nvidia-dkms_build_nvidia=${_build_nvidia-}-if [[ "$_use_llvm_lto" = "thin" || "$_use_llvm_lto" = "full" ]] && [ -n "$_use_lto_suffix" ]; then+if [[ "$_use_llvm_lto" = "thin" || "$_use_llvm_lto" = "full" ]] && [ "$_use_lto_suffix" = "y" ]; thenpkgsuffix=cachyos-ltopkgbase=linux-$pkgsuffix-else+elif [ -n "$_use_llvm_lto" ] || [[ "$_use_lto_suffix" = "n" ]]; thenpkgsuffix=cachyospkgbase=linux-$pkgsuffixfi