Archlinux Kernel based on different schedulers and some other performance improvements.
Shell archlinuxbaby-schedcachycachy-schedulercachyoscacule-schedkernellinux-kernelperformanceperformance-tuning
Add lto suffix flag
Piotr Gorski703f6599674a
diff --git a/linux-bore/.SRCINFO b/linux-bore/.SRCINFOindex a7332776..be2e00f3 100644--- a/linux-bore/.SRCINFO+++ b/linux-bore/.SRCINFO@@ -1,3 +1,5 @@+# Generated by makepkg 6.0.2+# Thu Oct 6 19:54:16 UTC 2022pkgbase = linux-borepkgdesc = Linux BORE scheduler Kernel by CachyOS with other patches and improvementspkgver = 6.0.0diff --git a/linux-bore/PKGBUILD b/linux-bore/PKGBUILDindex 9bfddb7d..dd5b57de 100644--- a/linux-bore/PKGBUILD+++ b/linux-bore/PKGBUILD@@ -138,6 +138,10 @@ _zstd_level_value=${_zstd_level_value-'normal'}# "thin: uses multiple threads, faster and uses less memory, may have a lower runtime performance than Full."_use_llvm_lto=${_use_llvm_lto-}+# Use suffix -lto only when requested by the user+# https://github.com/CachyOS/linux-cachyos/issues/36+_use_lto_suffix=${_use_lto_suffix-}+# KCFI is a proposed forward-edge control-flow integrity scheme for# Clang, which is more suitable for kernel use than the existing CFI# scheme used by CONFIG_CFI_CLANG. KCFI doesn't require LTO, doesn't@@ -180,7 +184,7 @@ _nest=${_nest-}# https://gitlab.com/ananicy-cpp/ananicy-cpp/-/tree/feature/latency-nice_latency_nice=${_latency_nice-y}-if [ -n "$_use_llvm_lto" ]; then+if [[ -n "$_use_llvm_lto" && -n "$_use_lto_suffix" ]]; thenpkgsuffix=${_cpusched}-ltopkgbase=linux-$pkgsuffixdiff --git a/linux-cachyos-bmq/.SRCINFO b/linux-cachyos-bmq/.SRCINFOindex 071a2dfc..a329afd4 100644--- a/linux-cachyos-bmq/.SRCINFO+++ b/linux-cachyos-bmq/.SRCINFO@@ -1,3 +1,5 @@+# Generated by makepkg 6.0.2+# Thu Oct 6 19:56:28 UTC 2022pkgbase = linux-cachyos-bmqpkgdesc = Linux BMQ scheduler Kernel by CachyOS with other patches and improvementspkgver = 6.0.0@@ -32,7 +34,7 @@ pkgbase = linux-cachyos-bmqsha256sums = fe22c8635aaa0d17742c3bcb943692782902c3eb8c213adfe47bb5dd517021e9sha256sums = e1d45b5842079a5f0f53d7ea2d66ffa3f1497766f3ccffcf13ed00f1ac67f95esha256sums = 8180568fa32a598c9643cb757daa4a8b59b4d888917aa086f82f4929dcaea3d5- sha256sums = 6a6f1c1311d84fb9bfe99267ce057771b4e682f962087ab1cecb3ee28a016677+ sha256sums = 6eff562fa2fc58a651f98c15fb41e9421460b73aceb309a764b0f062d0d0e78apkgname = linux-cachyos-bmqpkgdesc = The Linux BMQ scheduler Kernel by CachyOS with other patches and improvements kernel and modulesdiff --git a/linux-cachyos-bmq/PKGBUILD b/linux-cachyos-bmq/PKGBUILDindex 01a221aa..7c32ac80 100644--- a/linux-cachyos-bmq/PKGBUILD+++ b/linux-cachyos-bmq/PKGBUILD@@ -138,6 +138,10 @@ _zstd_level_value=${_zstd_level_value-'normal'}# "thin: uses multiple threads, faster and uses less memory, may have a lower runtime performance than Full."_use_llvm_lto=${_use_llvm_lto-}+# Use suffix -lto only when requested by the user+# https://github.com/CachyOS/linux-cachyos/issues/36+_use_lto_suffix=${_use_lto_suffix-}+# KCFI is a proposed forward-edge control-flow integrity scheme for# Clang, which is more suitable for kernel use than the existing CFI# scheme used by CONFIG_CFI_CLANG. KCFI doesn't require LTO, doesn't@@ -180,7 +184,7 @@ _nest=${_nest-}# https://gitlab.com/ananicy-cpp/ananicy-cpp/-/tree/feature/latency-nice_latency_nice=${_latency_nice-}-if [ -n "$_use_llvm_lto" ]; then+if [[ -n "$_use_llvm_lto" && -n "$_use_lto_suffix" ]]; thenpkgsuffix=cachyos-${_cpusched}-ltopkgbase=linux-$pkgsuffix@@ -1025,4 +1029,4 @@ sha256sums=('5c2443a5538de52688efb55c27ab0539c1f5eb58c0cfd16a2b9fbb08fd81788e''fe22c8635aaa0d17742c3bcb943692782902c3eb8c213adfe47bb5dd517021e9''e1d45b5842079a5f0f53d7ea2d66ffa3f1497766f3ccffcf13ed00f1ac67f95e''8180568fa32a598c9643cb757daa4a8b59b4d888917aa086f82f4929dcaea3d5'- '6a6f1c1311d84fb9bfe99267ce057771b4e682f962087ab1cecb3ee28a016677')+ '6eff562fa2fc58a651f98c15fb41e9421460b73aceb309a764b0f062d0d0e78a')diff --git a/linux-cachyos-bore/.SRCINFO b/linux-cachyos-bore/.SRCINFOindex 07a61afc..87cb0fae 100644--- a/linux-cachyos-bore/.SRCINFO+++ b/linux-cachyos-bore/.SRCINFO@@ -1,3 +1,5 @@+# Generated by makepkg 6.0.2+# Thu Oct 6 19:57:49 UTC 2022pkgbase = linux-cachyos-borepkgdesc = Linux BORE scheduler Kernel by CachyOS with other patches and improvementspkgver = 6.0.0diff --git a/linux-cachyos-bore/PKGBUILD b/linux-cachyos-bore/PKGBUILDindex 75561398..d38e2aca 100644--- a/linux-cachyos-bore/PKGBUILD+++ b/linux-cachyos-bore/PKGBUILD@@ -138,6 +138,10 @@ _zstd_level_value=${_zstd_level_value-'normal'}# "thin: uses multiple threads, faster and uses less memory, may have a lower runtime performance than Full."_use_llvm_lto=${_use_llvm_lto-}+# Use suffix -lto only when requested by the user+# https://github.com/CachyOS/linux-cachyos/issues/36+_use_lto_suffix=${_use_lto_suffix-}+# KCFI is a proposed forward-edge control-flow integrity scheme for# Clang, which is more suitable for kernel use than the existing CFI# scheme used by CONFIG_CFI_CLANG. KCFI doesn't require LTO, doesn't@@ -180,7 +184,7 @@ _nest=${_nest-}# https://gitlab.com/ananicy-cpp/ananicy-cpp/-/tree/feature/latency-nice_latency_nice=${_latency_nice-y}-if [ -n "$_use_llvm_lto" ]; then+if [[ -n "$_use_llvm_lto" && -n "$_use_lto_suffix" ]]; thenpkgsuffix=cachyos-${_cpusched}-ltopkgbase=linux-$pkgsuffixdiff --git a/linux-cachyos-cacule/.SRCINFO b/linux-cachyos-cacule/.SRCINFOindex 855747a7..a2a3371c 100644--- a/linux-cachyos-cacule/.SRCINFO+++ b/linux-cachyos-cacule/.SRCINFO@@ -1,3 +1,5 @@+# Generated by makepkg 6.0.2+# Thu Oct 6 19:58:08 UTC 2022pkgbase = linux-cachyos-caculepkgdesc = Linux cacULE scheduler Kernel by CachyOS with other patches and improvementspkgver = 6.0.0diff --git a/linux-cachyos-cacule/PKGBUILD b/linux-cachyos-cacule/PKGBUILDindex 8cabf435..82c2f39f 100644--- a/linux-cachyos-cacule/PKGBUILD+++ b/linux-cachyos-cacule/PKGBUILD@@ -138,6 +138,10 @@ _zstd_level_value=${_zstd_level_value-'normal'}# "thin: uses multiple threads, faster and uses less memory, may have a lower runtime performance than Full."_use_llvm_lto=${_use_llvm_lto-}+# Use suffix -lto only when requested by the user+# https://github.com/CachyOS/linux-cachyos/issues/36+_use_lto_suffix=${_use_lto_suffix-}+# KCFI is a proposed forward-edge control-flow integrity scheme for# Clang, which is more suitable for kernel use than the existing CFI# scheme used by CONFIG_CFI_CLANG. KCFI doesn't require LTO, doesn't@@ -180,7 +184,7 @@ _nest=${_nest-}# https://gitlab.com/ananicy-cpp/ananicy-cpp/-/tree/feature/latency-nice_latency_nice=${_latency_nice-}-if [ -n "$_use_llvm_lto" ]; then+if [[ -n "$_use_llvm_lto" && -n "$_use_lto_suffix" ]]; thenpkgsuffix=cachyos-${_cpusched}-ltopkgbase=linux-$pkgsuffixdiff --git a/linux-cachyos-cfs/.SRCINFO b/linux-cachyos-cfs/.SRCINFOindex 49f2d8d1..835b0384 100644--- a/linux-cachyos-cfs/.SRCINFO+++ b/linux-cachyos-cfs/.SRCINFO@@ -1,3 +1,5 @@+# Generated by makepkg 6.0.2+# Thu Oct 6 19:58:32 UTC 2022pkgbase = linux-cachyos-cfspkgdesc = Linux CFS scheduler Kernel by CachyOS with other patches and improvementspkgver = 6.0.0diff --git a/linux-cachyos-cfs/PKGBUILD b/linux-cachyos-cfs/PKGBUILDindex e972c5ae..a14b3c21 100644--- a/linux-cachyos-cfs/PKGBUILD+++ b/linux-cachyos-cfs/PKGBUILD@@ -138,6 +138,10 @@ _zstd_level_value=${_zstd_level_value-'normal'}# "thin: uses multiple threads, faster and uses less memory, may have a lower runtime performance than Full."_use_llvm_lto=${_use_llvm_lto-}+# Use suffix -lto only when requested by the user+# https://github.com/CachyOS/linux-cachyos/issues/36+_use_lto_suffix=${_use_lto_suffix-}+# KCFI is a proposed forward-edge control-flow integrity scheme for# Clang, which is more suitable for kernel use than the existing CFI# scheme used by CONFIG_CFI_CLANG. KCFI doesn't require LTO, doesn't@@ -180,7 +184,7 @@ _nest=${_nest-}# https://gitlab.com/ananicy-cpp/ananicy-cpp/-/tree/feature/latency-nice_latency_nice=${_latency_nice-y}-if [ -n "$_use_llvm_lto" ]; then+if [[ -n "$_use_llvm_lto" && -n "$_use_lto_suffix" ]]; thenpkgsuffix=cachyos-${_cpusched}-ltopkgbase=linux-$pkgsuffixdiff --git a/linux-cachyos-hardened/.SRCINFO b/linux-cachyos-hardened/.SRCINFOindex 6eafd750..dce4c3fb 100644--- a/linux-cachyos-hardened/.SRCINFO+++ b/linux-cachyos-hardened/.SRCINFO@@ -1,3 +1,5 @@+# Generated by makepkg 6.0.2+# Thu Oct 6 19:59:38 UTC 2022pkgbase = linux-cachyos-hardenedpkgdesc = Linux hardenened BORE scheduler Kernel by CachyOS with other patches and improvementspkgver = 6.0.0diff --git a/linux-cachyos-hardened/PKGBUILD b/linux-cachyos-hardened/PKGBUILDindex 7d277609..5d36a079 100644--- a/linux-cachyos-hardened/PKGBUILD+++ b/linux-cachyos-hardened/PKGBUILD@@ -138,6 +138,10 @@ _zstd_level_value=${_zstd_level_value-'normal'}# "thin: uses multiple threads, faster and uses less memory, may have a lower runtime performance than Full."_use_llvm_lto=${_use_llvm_lto-}+# Use suffix -lto only when requested by the user+# https://github.com/CachyOS/linux-cachyos/issues/36+_use_lto_suffix=${_use_lto_suffix-}+# KCFI is a proposed forward-edge control-flow integrity scheme for# Clang, which is more suitable for kernel use than the existing CFI# scheme used by CONFIG_CFI_CLANG. KCFI doesn't require LTO, doesn't@@ -180,7 +184,7 @@ _nest=${_nest-}# https://gitlab.com/ananicy-cpp/ananicy-cpp/-/tree/feature/latency-nice_latency_nice=${_latency_nice-y}-if [ -n "$_use_llvm_lto" ]; then+if [[ -n "$_use_llvm_lto" && -n "$_use_lto_suffix" ]]; thenpkgsuffix=cachyos-${_cpusched}-ltopkgbase=linux-$pkgsuffixdiff --git a/linux-cachyos-pds/.SRCINFO b/linux-cachyos-pds/.SRCINFOindex 3927ce5a..953705ad 100644--- a/linux-cachyos-pds/.SRCINFO+++ b/linux-cachyos-pds/.SRCINFO@@ -1,3 +1,5 @@+# Generated by makepkg 6.0.2+# Thu Oct 6 20:00:09 UTC 2022pkgbase = linux-cachyos-pdspkgdesc = Linux PDS scheduler Kernel by CachyOS with other patches and improvementspkgver = 6.0.0@@ -32,7 +34,7 @@ pkgbase = linux-cachyos-pdssha256sums = fe22c8635aaa0d17742c3bcb943692782902c3eb8c213adfe47bb5dd517021e9sha256sums = e1d45b5842079a5f0f53d7ea2d66ffa3f1497766f3ccffcf13ed00f1ac67f95esha256sums = 8180568fa32a598c9643cb757daa4a8b59b4d888917aa086f82f4929dcaea3d5- sha256sums = 6a6f1c1311d84fb9bfe99267ce057771b4e682f962087ab1cecb3ee28a016677+ sha256sums = 6eff562fa2fc58a651f98c15fb41e9421460b73aceb309a764b0f062d0d0e78apkgname = linux-cachyos-pdspkgdesc = The Linux PDS scheduler Kernel by CachyOS with other patches and improvements kernel and modulesdiff --git a/linux-cachyos-pds/PKGBUILD b/linux-cachyos-pds/PKGBUILDindex 6b6ea00e..04b9aedd 100644--- a/linux-cachyos-pds/PKGBUILD+++ b/linux-cachyos-pds/PKGBUILD@@ -138,6 +138,10 @@ _zstd_level_value=${_zstd_level_value-'normal'}# "thin: uses multiple threads, faster and uses less memory, may have a lower runtime performance than Full."_use_llvm_lto=${_use_llvm_lto-}+# Use suffix -lto only when requested by the user+# https://github.com/CachyOS/linux-cachyos/issues/36+_use_lto_suffix=${_use_lto_suffix-}+# KCFI is a proposed forward-edge control-flow integrity scheme for# Clang, which is more suitable for kernel use than the existing CFI# scheme used by CONFIG_CFI_CLANG. KCFI doesn't require LTO, doesn't@@ -180,7 +184,7 @@ _nest=${_nest-}# https://gitlab.com/ananicy-cpp/ananicy-cpp/-/tree/feature/latency-nice_latency_nice=${_latency_nice-}-if [ -n "$_use_llvm_lto" ]; then+if [[ -n "$_use_llvm_lto" && -n "$_use_lto_suffix" ]]; thenpkgsuffix=cachyos-${_cpusched}-ltopkgbase=linux-$pkgsuffix@@ -1025,4 +1029,4 @@ sha256sums=('5c2443a5538de52688efb55c27ab0539c1f5eb58c0cfd16a2b9fbb08fd81788e''fe22c8635aaa0d17742c3bcb943692782902c3eb8c213adfe47bb5dd517021e9''e1d45b5842079a5f0f53d7ea2d66ffa3f1497766f3ccffcf13ed00f1ac67f95e''8180568fa32a598c9643cb757daa4a8b59b4d888917aa086f82f4929dcaea3d5'- '6a6f1c1311d84fb9bfe99267ce057771b4e682f962087ab1cecb3ee28a016677')+ '6eff562fa2fc58a651f98c15fb41e9421460b73aceb309a764b0f062d0d0e78a')diff --git a/linux-cachyos-rc/.SRCINFO b/linux-cachyos-rc/.SRCINFOindex 9db69992..b738915b 100644--- a/linux-cachyos-rc/.SRCINFO+++ b/linux-cachyos-rc/.SRCINFO@@ -1,3 +1,5 @@+# Generated by makepkg 6.0.2+# Thu Oct 6 20:00:49 UTC 2022pkgbase = linux-cachyos-rcpkgdesc = Linux BORE scheduler Kernel by CachyOS and with some other patches and other improvementspkgver = 6.0.rc7diff --git a/linux-cachyos-rc/PKGBUILD b/linux-cachyos-rc/PKGBUILDindex 48611d3e..f7e13c9f 100644--- a/linux-cachyos-rc/PKGBUILD+++ b/linux-cachyos-rc/PKGBUILD@@ -138,6 +138,10 @@ _zstd_level_value=${_zstd_level_value-'normal'}# "thin: uses multiple threads, faster and uses less memory, may have a lower runtime performance than Full."_use_llvm_lto=${_use_llvm_lto-}+# Use suffix -lto only when requested by the user+# https://github.com/CachyOS/linux-cachyos/issues/36+_use_lto_suffix=${_use_lto_suffix-}+# KCFI is a proposed forward-edge control-flow integrity scheme for# Clang, which is more suitable for kernel use than the existing CFI# scheme used by CONFIG_CFI_CLANG. KCFI doesn't require LTO, doesn't@@ -180,17 +184,9 @@ _nest=${_nest-}# https://gitlab.com/ananicy-cpp/ananicy-cpp/-/tree/feature/latency-nice_latency_nice=${_latency_nice-y}-if [[ -n "$_use_llvm_lto" && -n "$_rtkernel" ]]; then- pkgsuffix=cachyos-rt-rc-lto- pkgbase=linux-$pkgsuffix--elif [ -n "$_use_llvm_lto" ]; then+if [[ -n "$_use_llvm_lto" && -n "$_use_lto_suffix" ]]; thenpkgsuffix=cachyos-rc-ltopkgbase=linux-$pkgsuffix--elif [ -n "$_rtkernel" ]; then- pkgsuffix=cachyos-rt-rc- pkgbase=linux-$pkgsuffixelsepkgsuffix=cachyos-rcdiff --git a/linux-cachyos-tt/.SRCINFO b/linux-cachyos-tt/.SRCINFOindex c61dbe30..e73a3217 100644--- a/linux-cachyos-tt/.SRCINFO+++ b/linux-cachyos-tt/.SRCINFO@@ -1,3 +1,5 @@+# Generated by makepkg 6.0.2+# Thu Oct 6 20:01:52 UTC 2022pkgbase = linux-cachyos-ttpkgdesc = Linux BORE scheduler Kernel by CachyOS with other patches and improvementspkgver = 6.0.0diff --git a/linux-cachyos-tt/PKGBUILD b/linux-cachyos-tt/PKGBUILDindex 04564133..546cd184 100644--- a/linux-cachyos-tt/PKGBUILD+++ b/linux-cachyos-tt/PKGBUILD@@ -138,6 +138,10 @@ _zstd_level_value=${_zstd_level_value-'normal'}# "thin: uses multiple threads, faster and uses less memory, may have a lower runtime performance than Full."_use_llvm_lto=${_use_llvm_lto-}+# Use suffix -lto only when requested by the user+# https://github.com/CachyOS/linux-cachyos/issues/36+_use_lto_suffix=${_use_lto_suffix-}+# KCFI is a proposed forward-edge control-flow integrity scheme for# Clang, which is more suitable for kernel use than the existing CFI# scheme used by CONFIG_CFI_CLANG. KCFI doesn't require LTO, doesn't@@ -180,7 +184,7 @@ _nest=${_nest-}# https://gitlab.com/ananicy-cpp/ananicy-cpp/-/tree/feature/latency-nice_latency_nice=${_latency_nice-}-if [ -n "$_use_llvm_lto" ]; then+if [[ -n "$_use_llvm_lto" && -n "$_use_lto_suffix" ]]; thenpkgsuffix=cachyos-${_cpusched}-ltopkgbase=linux-$pkgsuffixdiff --git a/linux-cachyos/.SRCINFO b/linux-cachyos/.SRCINFOindex a6656917..a52fef04 100644--- a/linux-cachyos/.SRCINFO+++ b/linux-cachyos/.SRCINFO@@ -1,3 +1,5 @@+# Generated by makepkg 6.0.2+# Thu Oct 6 19:54:57 UTC 2022pkgbase = linux-cachyospkgdesc = Linux BORE scheduler Kernel by CachyOS with other patches and improvementspkgver = 6.0.0diff --git a/linux-cachyos/PKGBUILD b/linux-cachyos/PKGBUILDindex 7981a530..fdb25b33 100644--- a/linux-cachyos/PKGBUILD+++ b/linux-cachyos/PKGBUILD@@ -138,6 +138,10 @@ _zstd_level_value=${_zstd_level_value-'normal'}# "thin: uses multiple threads, faster and uses less memory, may have a lower runtime performance than Full."_use_llvm_lto=${_use_llvm_lto-}+# Use suffix -lto only when requested by the user+# https://github.com/CachyOS/linux-cachyos/issues/36+_use_lto_suffix=${_use_lto_suffix-}+# KCFI is a proposed forward-edge control-flow integrity scheme for# Clang, which is more suitable for kernel use than the existing CFI# scheme used by CONFIG_CFI_CLANG. KCFI doesn't require LTO, doesn't@@ -180,7 +184,7 @@ _nest=${_nest-}# https://gitlab.com/ananicy-cpp/ananicy-cpp/-/tree/feature/latency-nice_latency_nice=${_latency_nice-y}-if [ -n "$_use_llvm_lto" ]; then+if [[ -n "$_use_llvm_lto" && -n "$_use_lto_suffix" ]]; thenpkgsuffix=cachyos-ltopkgbase=linux-$pkgsuffixdiff --git a/linux-cacule-rdb/.SRCINFO b/linux-cacule-rdb/.SRCINFOindex 7db75301..80b93864 100644--- a/linux-cacule-rdb/.SRCINFO+++ b/linux-cacule-rdb/.SRCINFO@@ -1,3 +1,5 @@+# Generated by makepkg 6.0.2+# Thu Oct 6 20:02:39 UTC 2022pkgbase = linux-cacule-rdbpkgdesc = Linux cacULE-RDB scheduler Kernel by CachyOS with other patches and improvementspkgver = 6.0.0diff --git a/linux-cacule-rdb/PKGBUILD b/linux-cacule-rdb/PKGBUILDindex f224f03c..46e295b7 100644--- a/linux-cacule-rdb/PKGBUILD+++ b/linux-cacule-rdb/PKGBUILD@@ -138,6 +138,10 @@ _zstd_level_value=${_zstd_level_value-'normal'}# "thin: uses multiple threads, faster and uses less memory, may have a lower runtime performance than Full."_use_llvm_lto=${_use_llvm_lto-}+# Use suffix -lto only when requested by the user+# https://github.com/CachyOS/linux-cachyos/issues/36+_use_lto_suffix=${_use_lto_suffix-}+# KCFI is a proposed forward-edge control-flow integrity scheme for# Clang, which is more suitable for kernel use than the existing CFI# scheme used by CONFIG_CFI_CLANG. KCFI doesn't require LTO, doesn't@@ -180,7 +184,7 @@ _nest=${_nest-}# https://gitlab.com/ananicy-cpp/ananicy-cpp/-/tree/feature/latency-nice_latency_nice=${_latency_nice-}-if [ -n "$_use_llvm_lto" ]; then+if [[ -n "$_use_llvm_lto" && -n "$_use_lto_suffix" ]]; thenpkgsuffix=${_cpusched}-ltopkgbase=linux-$pkgsuffixdiff --git a/linux-cacule/.SRCINFO b/linux-cacule/.SRCINFOindex c923d275..38cba111 100644--- a/linux-cacule/.SRCINFO+++ b/linux-cacule/.SRCINFO@@ -1,3 +1,5 @@+# Generated by makepkg 6.0.2+# Thu Oct 6 20:02:14 UTC 2022pkgbase = linux-caculepkgdesc = Linux cacULE scheduler Kernel by CachyOS with other patches and improvementspkgver = 6.0.0diff --git a/linux-cacule/PKGBUILD b/linux-cacule/PKGBUILDindex 3e1d71c4..b26fc259 100644--- a/linux-cacule/PKGBUILD+++ b/linux-cacule/PKGBUILD@@ -138,6 +138,10 @@ _zstd_level_value=${_zstd_level_value-'normal'}# "thin: uses multiple threads, faster and uses less memory, may have a lower runtime performance than Full."_use_llvm_lto=${_use_llvm_lto-}+# Use suffix -lto only when requested by the user+# https://github.com/CachyOS/linux-cachyos/issues/36+_use_lto_suffix=${_use_lto_suffix-}+# KCFI is a proposed forward-edge control-flow integrity scheme for# Clang, which is more suitable for kernel use than the existing CFI# scheme used by CONFIG_CFI_CLANG. KCFI doesn't require LTO, doesn't@@ -180,7 +184,7 @@ _nest=${_nest-}# https://gitlab.com/ananicy-cpp/ananicy-cpp/-/tree/feature/latency-nice_latency_nice=${_latency_nice-}-if [ -n "$_use_llvm_lto" ]; then+if [[ -n "$_use_llvm_lto" && -n "$_use_lto_suffix" ]]; thenpkgsuffix=${_cpusched}-ltopkgbase=linux-$pkgsuffixdiff --git a/linux-tt/.SRCINFO b/linux-tt/.SRCINFOindex 0d3de6aa..4f66d497 100644--- a/linux-tt/.SRCINFO+++ b/linux-tt/.SRCINFO@@ -1,3 +1,5 @@+# Generated by makepkg 6.0.2+# Thu Oct 6 20:03:23 UTC 2022pkgbase = linux-ttpkgdesc = Linux TT scheduler Kernel by CachyOS with other patches and improvementspkgver = 6.0.0diff --git a/linux-tt/PKGBUILD b/linux-tt/PKGBUILDindex 4bfccd9a..a262c18e 100644--- a/linux-tt/PKGBUILD+++ b/linux-tt/PKGBUILD@@ -138,6 +138,10 @@ _zstd_level_value=${_zstd_level_value-'normal'}# "thin: uses multiple threads, faster and uses less memory, may have a lower runtime performance than Full."_use_llvm_lto=${_use_llvm_lto-}+# Use suffix -lto only when requested by the user+# https://github.com/CachyOS/linux-cachyos/issues/36+_use_lto_suffix=${_use_lto_suffix-}+# KCFI is a proposed forward-edge control-flow integrity scheme for# Clang, which is more suitable for kernel use than the existing CFI# scheme used by CONFIG_CFI_CLANG. KCFI doesn't require LTO, doesn't@@ -180,7 +184,7 @@ _nest=${_nest-}# https://gitlab.com/ananicy-cpp/ananicy-cpp/-/tree/feature/latency-nice_latency_nice=${_latency_nice-}-if [ -n "$_use_llvm_lto" ]; then+if [[ -n "$_use_llvm_lto" && -n "$_use_lto_suffix" ]]; thenpkgsuffix=${_cpusched}-ltopkgbase=linux-$pkgsuffix