Archlinux Kernel based on different schedulers and some other performance improvements.
Shell archlinuxbaby-schedcachycachy-schedulercachyoscacule-schedkernellinux-kernelperformanceperformance-tuning
Move the ZFS check below the source declaration
Vasiliy Stelmachenok959496d2bf0a
diff --git a/linux-bore/PKGBUILD b/linux-bore/PKGBUILDindex b2954c4c..14f88667 100644--- a/linux-bore/PKGBUILD+++ b/linux-bore/PKGBUILD@@ -224,11 +224,6 @@ if [[ "$_use_llvm_lto" = "thin" || "$_use_llvm_lto" = "full" ]] || [ -n "$_use_kLLVM_IAS=1)fi-# ZFS support-if [ -n "$_build_zfs" ]; then- makedepends+=(git)- source+=("git+https://github.com/cachyos/zfs.git#commit=92e0d9d183ce6752cd52f7277c8321d81df9ffee")-fi_patchsource="https://raw.githubusercontent.com/cachyos/kernel-patches/master/${_major}"source=("https://cdn.kernel.org/pub/linux/kernel/v${pkgver%%.*}.x/${_srcname}.tar.xz"@@ -236,6 +231,12 @@ source=("auto-cpu-optimization.sh""${_patchsource}/all/0001-cachyos-base-all.patch")+# ZFS support+if [ -n "$_build_zfs" ]; then+ makedepends+=(git)+ source+=("git+https://github.com/cachyos/zfs.git#commit=92e0d9d183ce6752cd52f7277c8321d81df9ffee")+fi+## Latency NICE Supportif [ -n "$_latency_nice" ]; thenif [[ "$_cpusched" = "bore" || "$_cpusched" = "cfs" || "$_cpusched" = "hardened" ]]; thendiff --git a/linux-cachyos-bmq/PKGBUILD b/linux-cachyos-bmq/PKGBUILDindex 32032be5..4f3da0f5 100644--- a/linux-cachyos-bmq/PKGBUILD+++ b/linux-cachyos-bmq/PKGBUILD@@ -224,11 +224,6 @@ if [[ "$_use_llvm_lto" = "thin" || "$_use_llvm_lto" = "full" ]] || [ -n "$_use_kLLVM_IAS=1)fi-# ZFS support-if [ -n "$_build_zfs" ]; then- makedepends+=(git)- source+=("git+https://github.com/cachyos/zfs.git#commit=92e0d9d183ce6752cd52f7277c8321d81df9ffee")-fi_patchsource="https://raw.githubusercontent.com/cachyos/kernel-patches/master/${_major}"source=("https://cdn.kernel.org/pub/linux/kernel/v${pkgver%%.*}.x/${_srcname}.tar.xz"@@ -236,6 +231,12 @@ source=("auto-cpu-optimization.sh""${_patchsource}/all/0001-cachyos-base-all.patch")+# ZFS support+if [ -n "$_build_zfs" ]; then+ makedepends+=(git)+ source+=("git+https://github.com/cachyos/zfs.git#commit=92e0d9d183ce6752cd52f7277c8321d81df9ffee")+fi+## Latency NICE Supportif [ -n "$_latency_nice" ]; thenif [[ "$_cpusched" = "bore" || "$_cpusched" = "cfs" || "$_cpusched" = "hardened" ]]; thendiff --git a/linux-cachyos-bore/PKGBUILD b/linux-cachyos-bore/PKGBUILDindex 5acbfa62..aff58afd 100644--- a/linux-cachyos-bore/PKGBUILD+++ b/linux-cachyos-bore/PKGBUILD@@ -224,11 +224,6 @@ if [[ "$_use_llvm_lto" = "thin" || "$_use_llvm_lto" = "full" ]] || [ -n "$_use_kLLVM_IAS=1)fi-# ZFS support-if [ -n "$_build_zfs" ]; then- makedepends+=(git)- source+=("git+https://github.com/cachyos/zfs.git#commit=92e0d9d183ce6752cd52f7277c8321d81df9ffee")-fi_patchsource="https://raw.githubusercontent.com/cachyos/kernel-patches/master/${_major}"source=("https://cdn.kernel.org/pub/linux/kernel/v${pkgver%%.*}.x/${_srcname}.tar.xz"@@ -236,6 +231,12 @@ source=("auto-cpu-optimization.sh""${_patchsource}/all/0001-cachyos-base-all.patch")+# ZFS support+if [ -n "$_build_zfs" ]; then+ makedepends+=(git)+ source+=("git+https://github.com/cachyos/zfs.git#commit=92e0d9d183ce6752cd52f7277c8321d81df9ffee")+fi+## Latency NICE Supportif [ -n "$_latency_nice" ]; thenif [[ "$_cpusched" = "bore" || "$_cpusched" = "cfs" || "$_cpusched" = "hardened" ]]; thendiff --git a/linux-cachyos-cfs/PKGBUILD b/linux-cachyos-cfs/PKGBUILDindex 32a45d60..135d5a4c 100644--- a/linux-cachyos-cfs/PKGBUILD+++ b/linux-cachyos-cfs/PKGBUILD@@ -224,11 +224,6 @@ if [[ "$_use_llvm_lto" = "thin" || "$_use_llvm_lto" = "full" ]] || [ -n "$_use_kLLVM_IAS=1)fi-# ZFS support-if [ -n "$_build_zfs" ]; then- makedepends+=(git)- source+=("git+https://github.com/cachyos/zfs.git#commit=92e0d9d183ce6752cd52f7277c8321d81df9ffee")-fi_patchsource="https://raw.githubusercontent.com/cachyos/kernel-patches/master/${_major}"source=("https://cdn.kernel.org/pub/linux/kernel/v${pkgver%%.*}.x/${_srcname}.tar.xz"@@ -236,6 +231,12 @@ source=("auto-cpu-optimization.sh""${_patchsource}/all/0001-cachyos-base-all.patch")+# ZFS support+if [ -n "$_build_zfs" ]; then+ makedepends+=(git)+ source+=("git+https://github.com/cachyos/zfs.git#commit=92e0d9d183ce6752cd52f7277c8321d81df9ffee")+fi+## Latency NICE Supportif [ -n "$_latency_nice" ]; thenif [[ "$_cpusched" = "bore" || "$_cpusched" = "cfs" || "$_cpusched" = "hardened" ]]; thendiff --git a/linux-cachyos-hardened/PKGBUILD b/linux-cachyos-hardened/PKGBUILDindex 43f4cf06..e0938cd7 100644--- a/linux-cachyos-hardened/PKGBUILD+++ b/linux-cachyos-hardened/PKGBUILD@@ -224,11 +224,6 @@ if [[ "$_use_llvm_lto" = "thin" || "$_use_llvm_lto" = "full" ]] || [ -n "$_use_kLLVM_IAS=1)fi-# ZFS support-if [ -n "$_build_zfs" ]; then- makedepends+=(git)- source+=("git+https://github.com/cachyos/zfs.git#commit=92e0d9d183ce6752cd52f7277c8321d81df9ffee")-fi_patchsource="https://raw.githubusercontent.com/cachyos/kernel-patches/master/${_major}"source=("https://cdn.kernel.org/pub/linux/kernel/v${pkgver%%.*}.x/${_srcname}.tar.xz"@@ -236,6 +231,12 @@ source=("auto-cpu-optimization.sh""${_patchsource}/all/0001-cachyos-base-all.patch")+# ZFS support+if [ -n "$_build_zfs" ]; then+ makedepends+=(git)+ source+=("git+https://github.com/cachyos/zfs.git#commit=92e0d9d183ce6752cd52f7277c8321d81df9ffee")+fi+## Latency NICE Supportif [ -n "$_latency_nice" ]; thenif [[ "$_cpusched" = "bore" || "$_cpusched" = "cfs" || "$_cpusched" = "hardened" ]]; thendiff --git a/linux-cachyos-pds/PKGBUILD b/linux-cachyos-pds/PKGBUILDindex e17a1136..60c2a347 100644--- a/linux-cachyos-pds/PKGBUILD+++ b/linux-cachyos-pds/PKGBUILD@@ -224,11 +224,6 @@ if [[ "$_use_llvm_lto" = "thin" || "$_use_llvm_lto" = "full" ]] || [ -n "$_use_kLLVM_IAS=1)fi-# ZFS support-if [ -n "$_build_zfs" ]; then- makedepends+=(git)- source+=("git+https://github.com/cachyos/zfs.git#commit=92e0d9d183ce6752cd52f7277c8321d81df9ffee")-fi_patchsource="https://raw.githubusercontent.com/cachyos/kernel-patches/master/${_major}"source=("https://cdn.kernel.org/pub/linux/kernel/v${pkgver%%.*}.x/${_srcname}.tar.xz"@@ -236,6 +231,12 @@ source=("auto-cpu-optimization.sh""${_patchsource}/all/0001-cachyos-base-all.patch")+# ZFS support+if [ -n "$_build_zfs" ]; then+ makedepends+=(git)+ source+=("git+https://github.com/cachyos/zfs.git#commit=92e0d9d183ce6752cd52f7277c8321d81df9ffee")+fi+## Latency NICE Supportif [ -n "$_latency_nice" ]; thenif [[ "$_cpusched" = "bore" || "$_cpusched" = "cfs" || "$_cpusched" = "hardened" ]]; thendiff --git a/linux-cachyos-rc/PKGBUILD b/linux-cachyos-rc/PKGBUILDindex 1ffc47ce..d06f791f 100644--- a/linux-cachyos-rc/PKGBUILD+++ b/linux-cachyos-rc/PKGBUILD@@ -224,11 +224,6 @@ if [[ "$_use_llvm_lto" = "thin" || "$_use_llvm_lto" = "full" ]] || [ -n "$_use_kLLVM_IAS=1)fi-# ZFS support-if [ -n "$_build_zfs" ]; then- makedepends+=(git)- source+=("git+https://github.com/cachyos/zfs.git#commit=92e0d9d183ce6752cd52f7277c8321d81df9ffee")-fi_patchsource="https://raw.githubusercontent.com/cachyos/kernel-patches/master/${_major}"source=("https://github.com/torvalds/linux/archive/refs/tags/v${_major}-${_rcver}.tar.gz"@@ -236,6 +231,12 @@ source=("auto-cpu-optimization.sh""${_patchsource}/all/0001-cachyos-base-all.patch")+# ZFS support+if [ -n "$_build_zfs" ]; then+ makedepends+=(git)+ source+=("git+https://github.com/cachyos/zfs.git#commit=92e0d9d183ce6752cd52f7277c8321d81df9ffee")+fi+## Latency NICE Supportif [ -n "$_latency_nice" ]; thenif [[ "$_cpusched" = "bore" || "$_cpusched" = "cfs" || "$_cpusched" = "hardened" ]]; thendiff --git a/linux-cachyos-server/PKGBUILD b/linux-cachyos-server/PKGBUILDindex ce5f04e6..3ee697ea 100644--- a/linux-cachyos-server/PKGBUILD+++ b/linux-cachyos-server/PKGBUILD@@ -224,11 +224,6 @@ if [[ "$_use_llvm_lto" = "thin" || "$_use_llvm_lto" = "full" ]] || [ -n "$_use_kLLVM_IAS=1)fi-# ZFS support-if [ -n "$_build_zfs" ]; then- makedepends+=(git)- source+=("git+https://github.com/cachyos/zfs.git#commit=92e0d9d183ce6752cd52f7277c8321d81df9ffee")-fi_patchsource="https://raw.githubusercontent.com/cachyos/kernel-patches/master/${_major}"source=("https://cdn.kernel.org/pub/linux/kernel/v${pkgver%%.*}.x/${_srcname}.tar.xz"@@ -236,6 +231,12 @@ source=("auto-cpu-optimization.sh""${_patchsource}/all/0001-cachyos-base-all.patch")+# ZFS support+if [ -n "$_build_zfs" ]; then+ makedepends+=(git)+ source+=("git+https://github.com/cachyos/zfs.git#commit=92e0d9d183ce6752cd52f7277c8321d81df9ffee")+fi+## Latency NICE Supportif [ -n "$_latency_nice" ]; thenif [[ "$_cpusched" = "bore" || "$_cpusched" = "cfs" || "$_cpusched" = "hardened" ]]; thendiff --git a/linux-cachyos-tt/PKGBUILD b/linux-cachyos-tt/PKGBUILDindex e095c5e8..1131f2f6 100644--- a/linux-cachyos-tt/PKGBUILD+++ b/linux-cachyos-tt/PKGBUILD@@ -224,11 +224,6 @@ if [[ "$_use_llvm_lto" = "thin" || "$_use_llvm_lto" = "full" ]] || [ -n "$_use_kLLVM_IAS=1)fi-# ZFS support-if [ -n "$_build_zfs" ]; then- makedepends+=(git)- source+=("git+https://github.com/cachyos/zfs.git#commit=92e0d9d183ce6752cd52f7277c8321d81df9ffee")-fi_patchsource="https://raw.githubusercontent.com/cachyos/kernel-patches/master/${_major}"source=("https://cdn.kernel.org/pub/linux/kernel/v${pkgver%%.*}.x/${_srcname}.tar.xz"@@ -236,6 +231,12 @@ source=("auto-cpu-optimization.sh""${_patchsource}/all/0001-cachyos-base-all.patch")+# ZFS support+if [ -n "$_build_zfs" ]; then+ makedepends+=(git)+ source+=("git+https://github.com/cachyos/zfs.git#commit=92e0d9d183ce6752cd52f7277c8321d81df9ffee")+fi+## Latency NICE Supportif [ -n "$_latency_nice" ]; thenif [[ "$_cpusched" = "bore" || "$_cpusched" = "cfs" || "$_cpusched" = "hardened" ]]; thendiff --git a/linux-cachyos/PKGBUILD b/linux-cachyos/PKGBUILDindex dea944bd..b302250d 100644--- a/linux-cachyos/PKGBUILD+++ b/linux-cachyos/PKGBUILD@@ -224,11 +224,6 @@ if [[ "$_use_llvm_lto" = "thin" || "$_use_llvm_lto" = "full" ]] || [ -n "$_use_kLLVM_IAS=1)fi-# ZFS support-if [ -n "$_build_zfs" ]; then- makedepends+=(git)- source+=("git+https://github.com/cachyos/zfs.git#commit=92e0d9d183ce6752cd52f7277c8321d81df9ffee")-fi_patchsource="https://raw.githubusercontent.com/cachyos/kernel-patches/master/${_major}"source=("https://cdn.kernel.org/pub/linux/kernel/v${pkgver%%.*}.x/${_srcname}.tar.xz"@@ -236,6 +231,12 @@ source=("auto-cpu-optimization.sh""${_patchsource}/all/0001-cachyos-base-all.patch")+# ZFS support+if [ -n "$_build_zfs" ]; then+ makedepends+=(git)+ source+=("git+https://github.com/cachyos/zfs.git#commit=92e0d9d183ce6752cd52f7277c8321d81df9ffee")+fi+## Latency NICE Supportif [ -n "$_latency_nice" ]; thenif [[ "$_cpusched" = "bore" || "$_cpusched" = "cfs" || "$_cpusched" = "hardened" ]]; thendiff --git a/linux-tt/PKGBUILD b/linux-tt/PKGBUILDindex 092d130c..6d9537f8 100644--- a/linux-tt/PKGBUILD+++ b/linux-tt/PKGBUILD@@ -224,11 +224,6 @@ if [[ "$_use_llvm_lto" = "thin" || "$_use_llvm_lto" = "full" ]] || [ -n "$_use_kLLVM_IAS=1)fi-# ZFS support-if [ -n "$_build_zfs" ]; then- makedepends+=(git)- source+=("git+https://github.com/cachyos/zfs.git#commit=92e0d9d183ce6752cd52f7277c8321d81df9ffee")-fi_patchsource="https://raw.githubusercontent.com/cachyos/kernel-patches/master/${_major}"source=("https://cdn.kernel.org/pub/linux/kernel/v${pkgver%%.*}.x/${_srcname}.tar.xz"@@ -236,6 +231,12 @@ source=("auto-cpu-optimization.sh""${_patchsource}/all/0001-cachyos-base-all.patch")+# ZFS support+if [ -n "$_build_zfs" ]; then+ makedepends+=(git)+ source+=("git+https://github.com/cachyos/zfs.git#commit=92e0d9d183ce6752cd52f7277c8321d81df9ffee")+fi+## Latency NICE Supportif [ -n "$_latency_nice" ]; thenif [[ "$_cpusched" = "bore" || "$_cpusched" = "cfs" || "$_cpusched" = "hardened" ]]; then