Archlinux Kernel based on different schedulers and some other performance improvements.
Shell archlinuxbaby-schedcachycachy-schedulercachyoscacule-schedkernellinux-kernelperformanceperformance-tuning
Drop sched-ext, provided now by scx-scheds
Peter Jung0917e8d6937c
diff --git a/linux-bore/PKGBUILD b/linux-bore/PKGBUILDindex 8a108266..5fee57cf 100644--- a/linux-bore/PKGBUILD+++ b/linux-bore/PKGBUILD@@ -197,9 +197,6 @@ if [[ "$_use_llvm_lto" = "thin" || "$_use_llvm_lto" = "full" ]] || [ -n "$_use_kLLVM_IAS=1)fi-if [ "$_cpusched" = "sched-ext" ]; then- makedepends+=(clang llvm lld bpf libbpf rust)-fi_patchsource="https://raw.githubusercontent.com/cachyos/kernel-patches/master/${_major}"_nv_ver=545.29.06@@ -443,14 +440,6 @@ prepare() {-e TCP_CONG_BBR \-e DEFAULT_BBR \--set-str DEFAULT_TCP_CONG bbr-- # BBR3 doesn't work properly with FQ_CODEL- echo "Disabling fq_codel by default..."- scripts/config -m NET_SCH_FQ_CODEL \- -e NET_SCH_FQ \- -d DEFAULT_FQ_CODEL \- -e DEFAULT_FQ \- --set-str DEFAULT_NET_SCH fqfi### Select LRU config@@ -688,13 +677,6 @@ build() {make ${BUILD_FLAGS[*]}fi- if [ "$_cpusched" = "sched-ext" ]; then- # Build the sched_ext schedulers- cd "$srcdir/$_srcname/tools/sched_ext"- unset CFLAGS- unset CXXFLAGS- make CC=clang LLVM=1 -j- fi}_package() {@@ -835,27 +817,9 @@ _package-nvidia(){find "$pkgdir" -name '*.ko' -exec zstd --rm -10 {} +}-_package-schedulers() {- pkgdesc="Schedulers for $pkgdesc kernel"- depends=('libbpf' 'bpf' 'clang')-- cd "$srcdir/$_srcname/tools/sched_ext/build/bin"-- install -Dm755 scx_central "$pkgdir"/usr/bin/scx_central- install -Dm755 scx_flatcg "$pkgdir"/usr/bin/scx_flatcg- install -Dm755 scx_layered "$pkgdir"/usr/bin/scx_layered- install -Dm755 scx_nest "$pkgdir"/usr/bin/scx_nest- install -Dm755 scx_pair "$pkgdir"/usr/bin/scx_pair- install -Dm755 scx_qmap "$pkgdir"/usr/bin/scx_qmap- install -Dm755 scx_rusty "$pkgdir"/usr/bin/scx_rusty- install -Dm755 scx_simple "$pkgdir"/usr/bin/scx_simple- install -Dm755 scx_userland "$pkgdir"/usr/bin/scx_userland-}-pkgname=("$pkgbase" "$pkgbase-headers")[ -n "$_build_zfs" ] && pkgname+=("$pkgbase-zfs")[ -n "$_build_nvidia" ] && pkgname+=("$pkgbase-nvidia")-[ "$_cpusched" = "sched-ext" ] && pkgname+=("$pkgbase-schedulers")for _p in "${pkgname[@]}"; doeval "package_$_p() {$(declare -f "_package${_p#$pkgbase}")diff --git a/linux-cachyos-bore/PKGBUILD b/linux-cachyos-bore/PKGBUILDindex 1fdc21ca..f9024bbd 100644--- a/linux-cachyos-bore/PKGBUILD+++ b/linux-cachyos-bore/PKGBUILD@@ -197,9 +197,6 @@ if [[ "$_use_llvm_lto" = "thin" || "$_use_llvm_lto" = "full" ]] || [ -n "$_use_kLLVM_IAS=1)fi-if [ "$_cpusched" = "sched-ext" ]; then- makedepends+=(clang llvm lld bpf libbpf rust)-fi_patchsource="https://raw.githubusercontent.com/cachyos/kernel-patches/master/${_major}"_nv_ver=545.29.06@@ -443,14 +440,6 @@ prepare() {-e TCP_CONG_BBR \-e DEFAULT_BBR \--set-str DEFAULT_TCP_CONG bbr-- # BBR3 doesn't work properly with FQ_CODEL- echo "Disabling fq_codel by default..."- scripts/config -m NET_SCH_FQ_CODEL \- -e NET_SCH_FQ \- -d DEFAULT_FQ_CODEL \- -e DEFAULT_FQ \- --set-str DEFAULT_NET_SCH fqfi### Select LRU config@@ -688,13 +677,6 @@ build() {make ${BUILD_FLAGS[*]}fi- if [ "$_cpusched" = "sched-ext" ]; then- # Build the sched_ext schedulers- cd "$srcdir/$_srcname/tools/sched_ext"- unset CFLAGS- unset CXXFLAGS- make CC=clang LLVM=1 -j- fi}_package() {@@ -835,27 +817,9 @@ _package-nvidia(){find "$pkgdir" -name '*.ko' -exec zstd --rm -10 {} +}-_package-schedulers() {- pkgdesc="Schedulers for $pkgdesc kernel"- depends=('libbpf' 'bpf' 'clang')-- cd "$srcdir/$_srcname/tools/sched_ext/build/bin"-- install -Dm755 scx_central "$pkgdir"/usr/bin/scx_central- install -Dm755 scx_flatcg "$pkgdir"/usr/bin/scx_flatcg- install -Dm755 scx_layered "$pkgdir"/usr/bin/scx_layered- install -Dm755 scx_nest "$pkgdir"/usr/bin/scx_nest- install -Dm755 scx_pair "$pkgdir"/usr/bin/scx_pair- install -Dm755 scx_qmap "$pkgdir"/usr/bin/scx_qmap- install -Dm755 scx_rusty "$pkgdir"/usr/bin/scx_rusty- install -Dm755 scx_simple "$pkgdir"/usr/bin/scx_simple- install -Dm755 scx_userland "$pkgdir"/usr/bin/scx_userland-}-pkgname=("$pkgbase" "$pkgbase-headers")[ -n "$_build_zfs" ] && pkgname+=("$pkgbase-zfs")[ -n "$_build_nvidia" ] && pkgname+=("$pkgbase-nvidia")-[ "$_cpusched" = "sched-ext" ] && pkgname+=("$pkgbase-schedulers")for _p in "${pkgname[@]}"; doeval "package_$_p() {$(declare -f "_package${_p#$pkgbase}")diff --git a/linux-cachyos-eevdf/PKGBUILD b/linux-cachyos-eevdf/PKGBUILDindex 4eda7b6e..35e0a051 100644--- a/linux-cachyos-eevdf/PKGBUILD+++ b/linux-cachyos-eevdf/PKGBUILD@@ -197,9 +197,6 @@ if [[ "$_use_llvm_lto" = "thin" || "$_use_llvm_lto" = "full" ]] || [ -n "$_use_kLLVM_IAS=1)fi-if [ "$_cpusched" = "sched-ext" ]; then- makedepends+=(clang llvm lld bpf libbpf rust)-fi_patchsource="https://raw.githubusercontent.com/cachyos/kernel-patches/master/${_major}"_nv_ver=545.29.06@@ -443,14 +440,6 @@ prepare() {-e TCP_CONG_BBR \-e DEFAULT_BBR \--set-str DEFAULT_TCP_CONG bbr-- # BBR3 doesn't work properly with FQ_CODEL- echo "Disabling fq_codel by default..."- scripts/config -m NET_SCH_FQ_CODEL \- -e NET_SCH_FQ \- -d DEFAULT_FQ_CODEL \- -e DEFAULT_FQ \- --set-str DEFAULT_NET_SCH fqfi### Select LRU config@@ -688,13 +677,6 @@ build() {make ${BUILD_FLAGS[*]}fi- if [ "$_cpusched" = "sched-ext" ]; then- # Build the sched_ext schedulers- cd "$srcdir/$_srcname/tools/sched_ext"- unset CFLAGS- unset CXXFLAGS- make CC=clang LLVM=1 -j- fi}_package() {@@ -835,27 +817,9 @@ _package-nvidia(){find "$pkgdir" -name '*.ko' -exec zstd --rm -10 {} +}-_package-schedulers() {- pkgdesc="Schedulers for $pkgdesc kernel"- depends=('libbpf' 'bpf' 'clang')-- cd "$srcdir/$_srcname/tools/sched_ext/build/bin"-- install -Dm755 scx_central "$pkgdir"/usr/bin/scx_central- install -Dm755 scx_flatcg "$pkgdir"/usr/bin/scx_flatcg- install -Dm755 scx_layered "$pkgdir"/usr/bin/scx_layered- install -Dm755 scx_nest "$pkgdir"/usr/bin/scx_nest- install -Dm755 scx_pair "$pkgdir"/usr/bin/scx_pair- install -Dm755 scx_qmap "$pkgdir"/usr/bin/scx_qmap- install -Dm755 scx_rusty "$pkgdir"/usr/bin/scx_rusty- install -Dm755 scx_simple "$pkgdir"/usr/bin/scx_simple- install -Dm755 scx_userland "$pkgdir"/usr/bin/scx_userland-}-pkgname=("$pkgbase" "$pkgbase-headers")[ -n "$_build_zfs" ] && pkgname+=("$pkgbase-zfs")[ -n "$_build_nvidia" ] && pkgname+=("$pkgbase-nvidia")-[ "$_cpusched" = "sched-ext" ] && pkgname+=("$pkgbase-schedulers")for _p in "${pkgname[@]}"; doeval "package_$_p() {$(declare -f "_package${_p#$pkgbase}")diff --git a/linux-cachyos-rc/PKGBUILD b/linux-cachyos-rc/PKGBUILDindex b877747f..129103f4 100644--- a/linux-cachyos-rc/PKGBUILD+++ b/linux-cachyos-rc/PKGBUILD@@ -23,6 +23,7 @@ _cachy_config=${_cachy_config-y}# 'sched-ext' - select 'sched-ext' Scheduler, based on EEVDF_cpusched=${_cpusched-cachyos}+### Tweak kernel options prior to a build via nconfig_makenconfig=${_makenconfig-}@@ -193,9 +194,6 @@ if [[ "$_use_llvm_lto" = "thin" || "$_use_llvm_lto" = "full" ]] || [ -n "$_use_kLLVM_IAS=1)fi-if [ "$_cpusched" = "sched-ext" ]; then- makedepends+=(clang llvm lld bpf libbpf rust)-fi_patchsource="https://raw.githubusercontent.com/cachyos/kernel-patches/master/${_major}"_nv_ver=545.29.06@@ -672,13 +670,6 @@ build() {make ${BUILD_FLAGS[*]}fi- if [ "$_cpusched" = "sched-ext" ]; then- # Build the sched_ext schedulers- cd "$srcdir/$_srcname/tools/sched_ext"- unset CFLAGS- unset CXXFLAGS- make CC=clang LLVM=1 -j- fi}_package() {@@ -822,27 +813,9 @@ _package-nvidia(){find "$pkgdir" -name '*.ko' -exec zstd --rm -10 {} +}-_package-schedulers() {- pkgdesc="Schedulers for $pkgdesc kernel"- depends=('libbpf' 'bpf' 'clang')-- cd "$srcdir/$_srcname/tools/sched_ext/build/bin"-- install -Dm755 scx_central "$pkgdir"/usr/bin/scx_central- install -Dm755 scx_flatcg "$pkgdir"/usr/bin/scx_flatcg- install -Dm755 scx_layered "$pkgdir"/usr/bin/scx_layered- install -Dm755 scx_nest "$pkgdir"/usr/bin/scx_nest- install -Dm755 scx_pair "$pkgdir"/usr/bin/scx_pair- install -Dm755 scx_qmap "$pkgdir"/usr/bin/scx_qmap- install -Dm755 scx_rusty "$pkgdir"/usr/bin/scx_rusty- install -Dm755 scx_simple "$pkgdir"/usr/bin/scx_simple- install -Dm755 scx_userland "$pkgdir"/usr/bin/scx_userland-}-pkgname=("$pkgbase" "$pkgbase-headers")[ -n "$_build_zfs" ] && pkgname+=("$pkgbase-zfs")[ -n "$_build_nvidia" ] && pkgname+=("$pkgbase-nvidia")-[ "$_cpusched" = "sched-ext" ] && pkgname+=("$pkgbase-schedulers")for _p in "${pkgname[@]}"; doeval "package_$_p() {$(declare -f "_package${_p#$pkgbase}")diff --git a/linux-cachyos-rt-bore/PKGBUILD b/linux-cachyos-rt-bore/PKGBUILDindex 9f6faa40..aff75be8 100644--- a/linux-cachyos-rt-bore/PKGBUILD+++ b/linux-cachyos-rt-bore/PKGBUILD@@ -197,9 +197,6 @@ if [[ "$_use_llvm_lto" = "thin" || "$_use_llvm_lto" = "full" ]] || [ -n "$_use_kLLVM_IAS=1)fi-if [ "$_cpusched" = "sched-ext" ]; then- makedepends+=(clang llvm lld bpf libbpf rust)-fi_patchsource="https://raw.githubusercontent.com/cachyos/kernel-patches/master/${_major}"_nv_ver=545.29.06@@ -443,14 +440,6 @@ prepare() {-e TCP_CONG_BBR \-e DEFAULT_BBR \--set-str DEFAULT_TCP_CONG bbr-- # BBR3 doesn't work properly with FQ_CODEL- echo "Disabling fq_codel by default..."- scripts/config -m NET_SCH_FQ_CODEL \- -e NET_SCH_FQ \- -d DEFAULT_FQ_CODEL \- -e DEFAULT_FQ \- --set-str DEFAULT_NET_SCH fqfi### Select LRU config@@ -688,13 +677,6 @@ build() {make ${BUILD_FLAGS[*]}fi- if [ "$_cpusched" = "sched-ext" ]; then- # Build the sched_ext schedulers- cd "$srcdir/$_srcname/tools/sched_ext"- unset CFLAGS- unset CXXFLAGS- make CC=clang LLVM=1 -j- fi}_package() {@@ -835,27 +817,9 @@ _package-nvidia(){find "$pkgdir" -name '*.ko' -exec zstd --rm -10 {} +}-_package-schedulers() {- pkgdesc="Schedulers for $pkgdesc kernel"- depends=('libbpf' 'bpf' 'clang')-- cd "$srcdir/$_srcname/tools/sched_ext/build/bin"-- install -Dm755 scx_central "$pkgdir"/usr/bin/scx_central- install -Dm755 scx_flatcg "$pkgdir"/usr/bin/scx_flatcg- install -Dm755 scx_layered "$pkgdir"/usr/bin/scx_layered- install -Dm755 scx_nest "$pkgdir"/usr/bin/scx_nest- install -Dm755 scx_pair "$pkgdir"/usr/bin/scx_pair- install -Dm755 scx_qmap "$pkgdir"/usr/bin/scx_qmap- install -Dm755 scx_rusty "$pkgdir"/usr/bin/scx_rusty- install -Dm755 scx_simple "$pkgdir"/usr/bin/scx_simple- install -Dm755 scx_userland "$pkgdir"/usr/bin/scx_userland-}-pkgname=("$pkgbase" "$pkgbase-headers")[ -n "$_build_zfs" ] && pkgname+=("$pkgbase-zfs")[ -n "$_build_nvidia" ] && pkgname+=("$pkgbase-nvidia")-[ "$_cpusched" = "sched-ext" ] && pkgname+=("$pkgbase-schedulers")for _p in "${pkgname[@]}"; doeval "package_$_p() {$(declare -f "_package${_p#$pkgbase}")diff --git a/linux-cachyos-rt/PKGBUILD b/linux-cachyos-rt/PKGBUILDindex 36d35c3a..3f9f720c 100644--- a/linux-cachyos-rt/PKGBUILD+++ b/linux-cachyos-rt/PKGBUILD@@ -197,9 +197,6 @@ if [[ "$_use_llvm_lto" = "thin" || "$_use_llvm_lto" = "full" ]] || [ -n "$_use_kLLVM_IAS=1)fi-if [ "$_cpusched" = "sched-ext" ]; then- makedepends+=(clang llvm lld bpf libbpf rust)-fi_patchsource="https://raw.githubusercontent.com/cachyos/kernel-patches/master/${_major}"_nv_ver=545.29.06@@ -443,14 +440,6 @@ prepare() {-e TCP_CONG_BBR \-e DEFAULT_BBR \--set-str DEFAULT_TCP_CONG bbr-- # BBR3 doesn't work properly with FQ_CODEL- echo "Disabling fq_codel by default..."- scripts/config -m NET_SCH_FQ_CODEL \- -e NET_SCH_FQ \- -d DEFAULT_FQ_CODEL \- -e DEFAULT_FQ \- --set-str DEFAULT_NET_SCH fqfi### Select LRU config@@ -688,13 +677,6 @@ build() {make ${BUILD_FLAGS[*]}fi- if [ "$_cpusched" = "sched-ext" ]; then- # Build the sched_ext schedulers- cd "$srcdir/$_srcname/tools/sched_ext"- unset CFLAGS- unset CXXFLAGS- make CC=clang LLVM=1 -j- fi}_package() {@@ -835,27 +817,9 @@ _package-nvidia(){find "$pkgdir" -name '*.ko' -exec zstd --rm -10 {} +}-_package-schedulers() {- pkgdesc="Schedulers for $pkgdesc kernel"- depends=('libbpf' 'bpf' 'clang')-- cd "$srcdir/$_srcname/tools/sched_ext/build/bin"-- install -Dm755 scx_central "$pkgdir"/usr/bin/scx_central- install -Dm755 scx_flatcg "$pkgdir"/usr/bin/scx_flatcg- install -Dm755 scx_layered "$pkgdir"/usr/bin/scx_layered- install -Dm755 scx_nest "$pkgdir"/usr/bin/scx_nest- install -Dm755 scx_pair "$pkgdir"/usr/bin/scx_pair- install -Dm755 scx_qmap "$pkgdir"/usr/bin/scx_qmap- install -Dm755 scx_rusty "$pkgdir"/usr/bin/scx_rusty- install -Dm755 scx_simple "$pkgdir"/usr/bin/scx_simple- install -Dm755 scx_userland "$pkgdir"/usr/bin/scx_userland-}-pkgname=("$pkgbase" "$pkgbase-headers")[ -n "$_build_zfs" ] && pkgname+=("$pkgbase-zfs")[ -n "$_build_nvidia" ] && pkgname+=("$pkgbase-nvidia")-[ "$_cpusched" = "sched-ext" ] && pkgname+=("$pkgbase-schedulers")for _p in "${pkgname[@]}"; doeval "package_$_p() {$(declare -f "_package${_p#$pkgbase}")diff --git a/linux-cachyos-sched-ext/PKGBUILD b/linux-cachyos-sched-ext/PKGBUILDindex 84e30c04..3a429b72 100644--- a/linux-cachyos-sched-ext/PKGBUILD+++ b/linux-cachyos-sched-ext/PKGBUILD@@ -197,9 +197,6 @@ if [[ "$_use_llvm_lto" = "thin" || "$_use_llvm_lto" = "full" ]] || [ -n "$_use_kLLVM_IAS=1)fi-if [ "$_cpusched" = "sched-ext" ]; then- makedepends+=(clang llvm lld bpf libbpf rust)-fi_patchsource="https://raw.githubusercontent.com/cachyos/kernel-patches/master/${_major}"_nv_ver=545.29.06@@ -443,14 +440,6 @@ prepare() {-e TCP_CONG_BBR \-e DEFAULT_BBR \--set-str DEFAULT_TCP_CONG bbr-- # BBR3 doesn't work properly with FQ_CODEL- echo "Disabling fq_codel by default..."- scripts/config -m NET_SCH_FQ_CODEL \- -e NET_SCH_FQ \- -d DEFAULT_FQ_CODEL \- -e DEFAULT_FQ \- --set-str DEFAULT_NET_SCH fqfi### Select LRU config@@ -688,13 +677,6 @@ build() {make ${BUILD_FLAGS[*]}fi- if [ "$_cpusched" = "sched-ext" ]; then- # Build the sched_ext schedulers- cd "$srcdir/$_srcname/tools/sched_ext"- unset CFLAGS- unset CXXFLAGS- make CC=clang LLVM=1 -j- fi}_package() {@@ -835,27 +817,9 @@ _package-nvidia(){find "$pkgdir" -name '*.ko' -exec zstd --rm -10 {} +}-_package-schedulers() {- pkgdesc="Schedulers for $pkgdesc kernel"- depends=('libbpf' 'bpf' 'clang')-- cd "$srcdir/$_srcname/tools/sched_ext/build/bin"-- install -Dm755 scx_central "$pkgdir"/usr/bin/scx_central- install -Dm755 scx_flatcg "$pkgdir"/usr/bin/scx_flatcg- install -Dm755 scx_layered "$pkgdir"/usr/bin/scx_layered- install -Dm755 scx_nest "$pkgdir"/usr/bin/scx_nest- install -Dm755 scx_pair "$pkgdir"/usr/bin/scx_pair- install -Dm755 scx_qmap "$pkgdir"/usr/bin/scx_qmap- install -Dm755 scx_rusty "$pkgdir"/usr/bin/scx_rusty- install -Dm755 scx_simple "$pkgdir"/usr/bin/scx_simple- install -Dm755 scx_userland "$pkgdir"/usr/bin/scx_userland-}-pkgname=("$pkgbase" "$pkgbase-headers")[ -n "$_build_zfs" ] && pkgname+=("$pkgbase-zfs")[ -n "$_build_nvidia" ] && pkgname+=("$pkgbase-nvidia")-[ "$_cpusched" = "sched-ext" ] && pkgname+=("$pkgbase-schedulers")for _p in "${pkgname[@]}"; doeval "package_$_p() {$(declare -f "_package${_p#$pkgbase}")diff --git a/linux-cachyos-server/PKGBUILD b/linux-cachyos-server/PKGBUILDindex 5a621130..65beb57a 100644--- a/linux-cachyos-server/PKGBUILD+++ b/linux-cachyos-server/PKGBUILD@@ -197,9 +197,6 @@ if [[ "$_use_llvm_lto" = "thin" || "$_use_llvm_lto" = "full" ]] || [ -n "$_use_kLLVM_IAS=1)fi-if [ "$_cpusched" = "sched-ext" ]; then- makedepends+=(clang llvm lld bpf libbpf rust)-fi_patchsource="https://raw.githubusercontent.com/cachyos/kernel-patches/master/${_major}"_nv_ver=545.29.06@@ -443,14 +440,6 @@ prepare() {-e TCP_CONG_BBR \-e DEFAULT_BBR \--set-str DEFAULT_TCP_CONG bbr-- # BBR3 doesn't work properly with FQ_CODEL- echo "Disabling fq_codel by default..."- scripts/config -m NET_SCH_FQ_CODEL \- -e NET_SCH_FQ \- -d DEFAULT_FQ_CODEL \- -e DEFAULT_FQ \- --set-str DEFAULT_NET_SCH fqfi### Select LRU config@@ -688,13 +677,6 @@ build() {make ${BUILD_FLAGS[*]}fi- if [ "$_cpusched" = "sched-ext" ]; then- # Build the sched_ext schedulers- cd "$srcdir/$_srcname/tools/sched_ext"- unset CFLAGS- unset CXXFLAGS- make CC=clang LLVM=1 -j- fi}_package() {@@ -835,27 +817,9 @@ _package-nvidia(){find "$pkgdir" -name '*.ko' -exec zstd --rm -10 {} +}-_package-schedulers() {- pkgdesc="Schedulers for $pkgdesc kernel"- depends=('libbpf' 'bpf' 'clang')-- cd "$srcdir/$_srcname/tools/sched_ext/build/bin"-- install -Dm755 scx_central "$pkgdir"/usr/bin/scx_central- install -Dm755 scx_flatcg "$pkgdir"/usr/bin/scx_flatcg- install -Dm755 scx_layered "$pkgdir"/usr/bin/scx_layered- install -Dm755 scx_nest "$pkgdir"/usr/bin/scx_nest- install -Dm755 scx_pair "$pkgdir"/usr/bin/scx_pair- install -Dm755 scx_qmap "$pkgdir"/usr/bin/scx_qmap- install -Dm755 scx_rusty "$pkgdir"/usr/bin/scx_rusty- install -Dm755 scx_simple "$pkgdir"/usr/bin/scx_simple- install -Dm755 scx_userland "$pkgdir"/usr/bin/scx_userland-}-pkgname=("$pkgbase" "$pkgbase-headers")[ -n "$_build_zfs" ] && pkgname+=("$pkgbase-zfs")[ -n "$_build_nvidia" ] && pkgname+=("$pkgbase-nvidia")-[ "$_cpusched" = "sched-ext" ] && pkgname+=("$pkgbase-schedulers")for _p in "${pkgname[@]}"; doeval "package_$_p() {$(declare -f "_package${_p#$pkgbase}")diff --git a/linux-cachyos/PKGBUILD b/linux-cachyos/PKGBUILDindex a3ee2025..05c132aa 100644--- a/linux-cachyos/PKGBUILD+++ b/linux-cachyos/PKGBUILD@@ -197,9 +197,6 @@ if [[ "$_use_llvm_lto" = "thin" || "$_use_llvm_lto" = "full" ]] || [ -n "$_use_kLLVM_IAS=1)fi-if [ "$_cpusched" = "sched-ext" ]; then- makedepends+=(clang llvm lld bpf libbpf rust)-fi_patchsource="https://raw.githubusercontent.com/cachyos/kernel-patches/master/${_major}"_nv_ver=545.29.06@@ -443,14 +440,6 @@ prepare() {-e TCP_CONG_BBR \-e DEFAULT_BBR \--set-str DEFAULT_TCP_CONG bbr-- # BBR3 doesn't work properly with FQ_CODEL- echo "Disabling fq_codel by default..."- scripts/config -m NET_SCH_FQ_CODEL \- -e NET_SCH_FQ \- -d DEFAULT_FQ_CODEL \- -e DEFAULT_FQ \- --set-str DEFAULT_NET_SCH fqfi### Select LRU config@@ -688,13 +677,6 @@ build() {make ${BUILD_FLAGS[*]}fi- if [ "$_cpusched" = "sched-ext" ]; then- # Build the sched_ext schedulers- cd "$srcdir/$_srcname/tools/sched_ext"- unset CFLAGS- unset CXXFLAGS- make CC=clang LLVM=1 -j- fi}_package() {@@ -835,27 +817,9 @@ _package-nvidia(){find "$pkgdir" -name '*.ko' -exec zstd --rm -10 {} +}-_package-schedulers() {- pkgdesc="Schedulers for $pkgdesc kernel"- depends=('libbpf' 'bpf' 'clang')-- cd "$srcdir/$_srcname/tools/sched_ext/build/bin"-- install -Dm755 scx_central "$pkgdir"/usr/bin/scx_central- install -Dm755 scx_flatcg "$pkgdir"/usr/bin/scx_flatcg- install -Dm755 scx_layered "$pkgdir"/usr/bin/scx_layered- install -Dm755 scx_nest "$pkgdir"/usr/bin/scx_nest- install -Dm755 scx_pair "$pkgdir"/usr/bin/scx_pair- install -Dm755 scx_qmap "$pkgdir"/usr/bin/scx_qmap- install -Dm755 scx_rusty "$pkgdir"/usr/bin/scx_rusty- install -Dm755 scx_simple "$pkgdir"/usr/bin/scx_simple- install -Dm755 scx_userland "$pkgdir"/usr/bin/scx_userland-}-pkgname=("$pkgbase" "$pkgbase-headers")[ -n "$_build_zfs" ] && pkgname+=("$pkgbase-zfs")[ -n "$_build_nvidia" ] && pkgname+=("$pkgbase-nvidia")-[ "$_cpusched" = "sched-ext" ] && pkgname+=("$pkgbase-schedulers")for _p in "${pkgname[@]}"; doeval "package_$_p() {$(declare -f "_package${_p#$pkgbase}")