Archlinux Kernel based on different schedulers and some other performance improvements.
Shell archlinuxbaby-schedcachycachy-schedulercachyoscacule-schedkernellinux-kernelperformanceperformance-tuning
Bring back vma flag
Piotr Gorskicca13393c678
diff --git a/linux-bore/.SRCINFO b/linux-bore/.SRCINFOindex 41362162..7ca0f334 100644--- a/linux-bore/.SRCINFO+++ b/linux-bore/.SRCINFO@@ -1,3 +1,5 @@+# Generated by makepkg 6.0.2+# Wed Dec 28 19:47:59 UTC 2022pkgbase = linux-borepkgdesc = Linux BORE scheduler Kernel by CachyOS with other patches and improvementspkgver = 6.1.1diff --git a/linux-bore/PKGBUILD b/linux-bore/PKGBUILDindex 3ad22259..c2cb7846 100644--- a/linux-bore/PKGBUILD+++ b/linux-bore/PKGBUILD@@ -97,6 +97,13 @@ _kyber_disable=${_kyber_disable-y}# 'none' - disable multigenerational LRU_lru_config=${_lru_config-'standard'}+### Enable per-VMA locking+# ATTENTION - one of three predefined values should be selected!+# 'standard' - enable per-VMA locking+# 'stats' - enable per-VMA locking with stats+# 'none' - disable per-VMA locking+_vma_config=${_vma_config-'standard'}+### Transparent Hugepages# ATTENTION - one of two predefined values should be selected!# 'always' - always enable THP@@ -500,7 +507,7 @@ prepare() {scripts/config --set-val NR_CPUS "$_nr_cpus"elseecho "Setting default NR_CPUS..."- scripts/config --set-val NR_CPUS 320+ scripts/config --set-val NR_CPUS 128fi### Disable MQ Deadline I/O scheduler@@ -636,6 +643,28 @@ prepare() {exitfi+ ### Select VMA config+ if [ "$_vma_config" = "standard" ]; then+ echo "Enabling per-VMA locking..."+ scripts/config --enable PER_VMA_LOCK \+ --disable PER_VMA_LOCK_STATS+ elif [ "$_vma_config" = "stats" ]; then+ echo "Enabling per-VMA locking with stats..."+ scripts/config --enable PER_VMA_LOCK \+ --enable PER_VMA_LOCK_STATS+ elif [ "$_vma_config" = "none" ]; then+ echo "Disabling per-VMA locking..."+ scripts/config --disable PER_VMA_LOCK+ else+ if [ -n "$_vma_config" ]; then+ error "The value $_vma_config is invalid. Choose the correct one again."+ else+ error "The value is empty. Choose the correct one again."+ fi+ error "Enabling per-VMA locking failed!"+ exit+ fi+### Select THPif [ "$_hugepage" = "always" ]; thenecho "Enable THP always..."diff --git a/linux-cachyos-bmq/.SRCINFO b/linux-cachyos-bmq/.SRCINFOindex 7150e0e7..3a61aa8b 100644--- a/linux-cachyos-bmq/.SRCINFO+++ b/linux-cachyos-bmq/.SRCINFO@@ -1,3 +1,5 @@+# Generated by makepkg 6.0.2+# Wed Dec 28 19:48:24 UTC 2022pkgbase = linux-cachyos-bmqpkgdesc = Linux BMQ scheduler Kernel by CachyOS with other patches and improvementspkgver = 6.1.1diff --git a/linux-cachyos-bmq/PKGBUILD b/linux-cachyos-bmq/PKGBUILDindex a15723be..92d22924 100644--- a/linux-cachyos-bmq/PKGBUILD+++ b/linux-cachyos-bmq/PKGBUILD@@ -97,6 +97,13 @@ _kyber_disable=${_kyber_disable-y}# 'none' - disable multigenerational LRU_lru_config=${_lru_config-'standard'}+### Enable per-VMA locking+# ATTENTION - one of three predefined values should be selected!+# 'standard' - enable per-VMA locking+# 'stats' - enable per-VMA locking with stats+# 'none' - disable per-VMA locking+_vma_config=${_vma_config-'standard'}+### Transparent Hugepages# ATTENTION - one of two predefined values should be selected!# 'always' - always enable THP@@ -500,7 +507,7 @@ prepare() {scripts/config --set-val NR_CPUS "$_nr_cpus"elseecho "Setting default NR_CPUS..."- scripts/config --set-val NR_CPUS 320+ scripts/config --set-val NR_CPUS 128fi### Disable MQ Deadline I/O scheduler@@ -636,6 +643,28 @@ prepare() {exitfi+ ### Select VMA config+ if [ "$_vma_config" = "standard" ]; then+ echo "Enabling per-VMA locking..."+ scripts/config --enable PER_VMA_LOCK \+ --disable PER_VMA_LOCK_STATS+ elif [ "$_vma_config" = "stats" ]; then+ echo "Enabling per-VMA locking with stats..."+ scripts/config --enable PER_VMA_LOCK \+ --enable PER_VMA_LOCK_STATS+ elif [ "$_vma_config" = "none" ]; then+ echo "Disabling per-VMA locking..."+ scripts/config --disable PER_VMA_LOCK+ else+ if [ -n "$_vma_config" ]; then+ error "The value $_vma_config is invalid. Choose the correct one again."+ else+ error "The value is empty. Choose the correct one again."+ fi+ error "Enabling per-VMA locking failed!"+ exit+ fi+### Select THPif [ "$_hugepage" = "always" ]; thenecho "Enable THP always..."diff --git a/linux-cachyos-bore/.SRCINFO b/linux-cachyos-bore/.SRCINFOindex 4614d311..193e52b2 100644--- a/linux-cachyos-bore/.SRCINFO+++ b/linux-cachyos-bore/.SRCINFO@@ -1,3 +1,5 @@+# Generated by makepkg 6.0.2+# Wed Dec 28 19:48:37 UTC 2022pkgbase = linux-cachyos-borepkgdesc = Linux BORE scheduler Kernel by CachyOS with other patches and improvementspkgver = 6.1.1diff --git a/linux-cachyos-bore/PKGBUILD b/linux-cachyos-bore/PKGBUILDindex 99e3e186..3825b307 100644--- a/linux-cachyos-bore/PKGBUILD+++ b/linux-cachyos-bore/PKGBUILD@@ -97,6 +97,13 @@ _kyber_disable=${_kyber_disable-y}# 'none' - disable multigenerational LRU_lru_config=${_lru_config-'standard'}+### Enable per-VMA locking+# ATTENTION - one of three predefined values should be selected!+# 'standard' - enable per-VMA locking+# 'stats' - enable per-VMA locking with stats+# 'none' - disable per-VMA locking+_vma_config=${_vma_config-'standard'}+### Transparent Hugepages# ATTENTION - one of two predefined values should be selected!# 'always' - always enable THP@@ -500,7 +507,7 @@ prepare() {scripts/config --set-val NR_CPUS "$_nr_cpus"elseecho "Setting default NR_CPUS..."- scripts/config --set-val NR_CPUS 320+ scripts/config --set-val NR_CPUS 128fi### Disable MQ Deadline I/O scheduler@@ -636,6 +643,28 @@ prepare() {exitfi+ ### Select VMA config+ if [ "$_vma_config" = "standard" ]; then+ echo "Enabling per-VMA locking..."+ scripts/config --enable PER_VMA_LOCK \+ --disable PER_VMA_LOCK_STATS+ elif [ "$_vma_config" = "stats" ]; then+ echo "Enabling per-VMA locking with stats..."+ scripts/config --enable PER_VMA_LOCK \+ --enable PER_VMA_LOCK_STATS+ elif [ "$_vma_config" = "none" ]; then+ echo "Disabling per-VMA locking..."+ scripts/config --disable PER_VMA_LOCK+ else+ if [ -n "$_vma_config" ]; then+ error "The value $_vma_config is invalid. Choose the correct one again."+ else+ error "The value is empty. Choose the correct one again."+ fi+ error "Enabling per-VMA locking failed!"+ exit+ fi+### Select THPif [ "$_hugepage" = "always" ]; thenecho "Enable THP always..."diff --git a/linux-cachyos-cacule/.SRCINFO b/linux-cachyos-cacule/.SRCINFOindex fd9ada6f..90f13610 100644--- a/linux-cachyos-cacule/.SRCINFO+++ b/linux-cachyos-cacule/.SRCINFO@@ -1,3 +1,5 @@+# Generated by makepkg 6.0.2+# Wed Dec 28 19:48:49 UTC 2022pkgbase = linux-cachyos-caculepkgdesc = Linux cacULE scheduler Kernel by CachyOS with other patches and improvementspkgver = 6.1.1diff --git a/linux-cachyos-cacule/PKGBUILD b/linux-cachyos-cacule/PKGBUILDindex 965d33d9..ad24ee8e 100644--- a/linux-cachyos-cacule/PKGBUILD+++ b/linux-cachyos-cacule/PKGBUILD@@ -97,6 +97,13 @@ _kyber_disable=${_kyber_disable-y}# 'none' - disable multigenerational LRU_lru_config=${_lru_config-'standard'}+### Enable per-VMA locking+# ATTENTION - one of three predefined values should be selected!+# 'standard' - enable per-VMA locking+# 'stats' - enable per-VMA locking with stats+# 'none' - disable per-VMA locking+_vma_config=${_vma_config-'standard'}+### Transparent Hugepages# ATTENTION - one of two predefined values should be selected!# 'always' - always enable THP@@ -500,7 +507,7 @@ prepare() {scripts/config --set-val NR_CPUS "$_nr_cpus"elseecho "Setting default NR_CPUS..."- scripts/config --set-val NR_CPUS 320+ scripts/config --set-val NR_CPUS 128fi### Disable MQ Deadline I/O scheduler@@ -636,6 +643,28 @@ prepare() {exitfi+ ### Select VMA config+ if [ "$_vma_config" = "standard" ]; then+ echo "Enabling per-VMA locking..."+ scripts/config --enable PER_VMA_LOCK \+ --disable PER_VMA_LOCK_STATS+ elif [ "$_vma_config" = "stats" ]; then+ echo "Enabling per-VMA locking with stats..."+ scripts/config --enable PER_VMA_LOCK \+ --enable PER_VMA_LOCK_STATS+ elif [ "$_vma_config" = "none" ]; then+ echo "Disabling per-VMA locking..."+ scripts/config --disable PER_VMA_LOCK+ else+ if [ -n "$_vma_config" ]; then+ error "The value $_vma_config is invalid. Choose the correct one again."+ else+ error "The value is empty. Choose the correct one again."+ fi+ error "Enabling per-VMA locking failed!"+ exit+ fi+### Select THPif [ "$_hugepage" = "always" ]; thenecho "Enable THP always..."diff --git a/linux-cachyos-cfs/.SRCINFO b/linux-cachyos-cfs/.SRCINFOindex 2bf63766..cc33bfd8 100644--- a/linux-cachyos-cfs/.SRCINFO+++ b/linux-cachyos-cfs/.SRCINFO@@ -1,3 +1,5 @@+# Generated by makepkg 6.0.2+# Wed Dec 28 19:49:00 UTC 2022pkgbase = linux-cachyos-cfspkgdesc = Linux CFS scheduler Kernel by CachyOS with other patches and improvementspkgver = 6.1.1diff --git a/linux-cachyos-cfs/PKGBUILD b/linux-cachyos-cfs/PKGBUILDindex 05612392..45e5fd16 100644--- a/linux-cachyos-cfs/PKGBUILD+++ b/linux-cachyos-cfs/PKGBUILD@@ -97,6 +97,13 @@ _kyber_disable=${_kyber_disable-y}# 'none' - disable multigenerational LRU_lru_config=${_lru_config-'standard'}+### Enable per-VMA locking+# ATTENTION - one of three predefined values should be selected!+# 'standard' - enable per-VMA locking+# 'stats' - enable per-VMA locking with stats+# 'none' - disable per-VMA locking+_vma_config=${_vma_config-'standard'}+### Transparent Hugepages# ATTENTION - one of two predefined values should be selected!# 'always' - always enable THP@@ -500,7 +507,7 @@ prepare() {scripts/config --set-val NR_CPUS "$_nr_cpus"elseecho "Setting default NR_CPUS..."- scripts/config --set-val NR_CPUS 320+ scripts/config --set-val NR_CPUS 128fi### Disable MQ Deadline I/O scheduler@@ -636,6 +643,28 @@ prepare() {exitfi+ ### Select VMA config+ if [ "$_vma_config" = "standard" ]; then+ echo "Enabling per-VMA locking..."+ scripts/config --enable PER_VMA_LOCK \+ --disable PER_VMA_LOCK_STATS+ elif [ "$_vma_config" = "stats" ]; then+ echo "Enabling per-VMA locking with stats..."+ scripts/config --enable PER_VMA_LOCK \+ --enable PER_VMA_LOCK_STATS+ elif [ "$_vma_config" = "none" ]; then+ echo "Disabling per-VMA locking..."+ scripts/config --disable PER_VMA_LOCK+ else+ if [ -n "$_vma_config" ]; then+ error "The value $_vma_config is invalid. Choose the correct one again."+ else+ error "The value is empty. Choose the correct one again."+ fi+ error "Enabling per-VMA locking failed!"+ exit+ fi+### Select THPif [ "$_hugepage" = "always" ]; thenecho "Enable THP always..."diff --git a/linux-cachyos-hardened/.SRCINFO b/linux-cachyos-hardened/.SRCINFOindex 84934e60..226208a1 100644--- a/linux-cachyos-hardened/.SRCINFO+++ b/linux-cachyos-hardened/.SRCINFO@@ -1,3 +1,5 @@+# Generated by makepkg 6.0.2+# Wed Dec 28 19:49:14 UTC 2022pkgbase = linux-cachyos-hardenedpkgdesc = Linux hardenened BORE scheduler Kernel by CachyOS with other patches and improvementspkgver = 6.1.1diff --git a/linux-cachyos-hardened/PKGBUILD b/linux-cachyos-hardened/PKGBUILDindex 10b53725..080535ac 100644--- a/linux-cachyos-hardened/PKGBUILD+++ b/linux-cachyos-hardened/PKGBUILD@@ -97,6 +97,13 @@ _kyber_disable=${_kyber_disable-y}# 'none' - disable multigenerational LRU_lru_config=${_lru_config-'standard'}+### Enable per-VMA locking+# ATTENTION - one of three predefined values should be selected!+# 'standard' - enable per-VMA locking+# 'stats' - enable per-VMA locking with stats+# 'none' - disable per-VMA locking+_vma_config=${_vma_config-'standard'}+### Transparent Hugepages# ATTENTION - one of two predefined values should be selected!# 'always' - always enable THP@@ -504,7 +511,7 @@ prepare() {scripts/config --set-val NR_CPUS "$_nr_cpus"elseecho "Setting default NR_CPUS..."- scripts/config --set-val NR_CPUS 320+ scripts/config --set-val NR_CPUS 128fi### Disable MQ Deadline I/O scheduler@@ -640,6 +647,28 @@ prepare() {exitfi+ ### Select VMA config+ if [ "$_vma_config" = "standard" ]; then+ echo "Enabling per-VMA locking..."+ scripts/config --enable PER_VMA_LOCK \+ --disable PER_VMA_LOCK_STATS+ elif [ "$_vma_config" = "stats" ]; then+ echo "Enabling per-VMA locking with stats..."+ scripts/config --enable PER_VMA_LOCK \+ --enable PER_VMA_LOCK_STATS+ elif [ "$_vma_config" = "none" ]; then+ echo "Disabling per-VMA locking..."+ scripts/config --disable PER_VMA_LOCK+ else+ if [ -n "$_vma_config" ]; then+ error "The value $_vma_config is invalid. Choose the correct one again."+ else+ error "The value is empty. Choose the correct one again."+ fi+ error "Enabling per-VMA locking failed!"+ exit+ fi+### Select THPif [ "$_hugepage" = "always" ]; thenecho "Enable THP always..."diff --git a/linux-cachyos-pds/.SRCINFO b/linux-cachyos-pds/.SRCINFOindex fb7ed000..b5bb9a85 100644--- a/linux-cachyos-pds/.SRCINFO+++ b/linux-cachyos-pds/.SRCINFO@@ -1,3 +1,5 @@+# Generated by makepkg 6.0.2+# Wed Dec 28 19:49:26 UTC 2022pkgbase = linux-cachyos-pdspkgdesc = Linux PDS scheduler Kernel by CachyOS with other patches and improvementspkgver = 6.1.1diff --git a/linux-cachyos-pds/PKGBUILD b/linux-cachyos-pds/PKGBUILDindex a088ac6f..54f8b6ad 100644--- a/linux-cachyos-pds/PKGBUILD+++ b/linux-cachyos-pds/PKGBUILD@@ -97,6 +97,13 @@ _kyber_disable=${_kyber_disable-y}# 'none' - disable multigenerational LRU_lru_config=${_lru_config-'standard'}+### Enable per-VMA locking+# ATTENTION - one of three predefined values should be selected!+# 'standard' - enable per-VMA locking+# 'stats' - enable per-VMA locking with stats+# 'none' - disable per-VMA locking+_vma_config=${_vma_config-'standard'}+### Transparent Hugepages# ATTENTION - one of two predefined values should be selected!# 'always' - always enable THP@@ -500,7 +507,7 @@ prepare() {scripts/config --set-val NR_CPUS "$_nr_cpus"elseecho "Setting default NR_CPUS..."- scripts/config --set-val NR_CPUS 320+ scripts/config --set-val NR_CPUS 128fi### Disable MQ Deadline I/O scheduler@@ -636,6 +643,28 @@ prepare() {exitfi+ ### Select VMA config+ if [ "$_vma_config" = "standard" ]; then+ echo "Enabling per-VMA locking..."+ scripts/config --enable PER_VMA_LOCK \+ --disable PER_VMA_LOCK_STATS+ elif [ "$_vma_config" = "stats" ]; then+ echo "Enabling per-VMA locking with stats..."+ scripts/config --enable PER_VMA_LOCK \+ --enable PER_VMA_LOCK_STATS+ elif [ "$_vma_config" = "none" ]; then+ echo "Disabling per-VMA locking..."+ scripts/config --disable PER_VMA_LOCK+ else+ if [ -n "$_vma_config" ]; then+ error "The value $_vma_config is invalid. Choose the correct one again."+ else+ error "The value is empty. Choose the correct one again."+ fi+ error "Enabling per-VMA locking failed!"+ exit+ fi+### Select THPif [ "$_hugepage" = "always" ]; thenecho "Enable THP always..."diff --git a/linux-cachyos-rc/.SRCINFO b/linux-cachyos-rc/.SRCINFOindex 600f0172..0f0941a3 100644--- a/linux-cachyos-rc/.SRCINFO+++ b/linux-cachyos-rc/.SRCINFO@@ -1,5 +1,5 @@# Generated by makepkg 6.0.2-# Tue Dec 27 20:04:30 UTC 2022+# Wed Dec 28 19:50:22 UTC 2022pkgbase = linux-cachyos-rcpkgdesc = Linux BORE scheduler Kernel by CachyOS and with some other patches and other improvementspkgver = 6.2.rc1diff --git a/linux-cachyos-rc/PKGBUILD b/linux-cachyos-rc/PKGBUILDindex 304fbda4..8f921bb2 100644--- a/linux-cachyos-rc/PKGBUILD+++ b/linux-cachyos-rc/PKGBUILD@@ -97,6 +97,13 @@ _kyber_disable=${_kyber_disable-y}# 'none' - disable multigenerational LRU_lru_config=${_lru_config-'standard'}+### Enable per-VMA locking+# ATTENTION - one of three predefined values should be selected!+# 'standard' - enable per-VMA locking+# 'stats' - enable per-VMA locking with stats+# 'none' - disable per-VMA locking+_vma_config=${_vma_config-'standard'}+### Transparent Hugepages# ATTENTION - one of two predefined values should be selected!# 'always' - always enable THP@@ -500,7 +507,7 @@ prepare() {scripts/config --set-val NR_CPUS "$_nr_cpus"elseecho "Setting default NR_CPUS..."- scripts/config --set-val NR_CPUS 320+ scripts/config --set-val NR_CPUS 128fi### Disable MQ Deadline I/O scheduler@@ -636,6 +643,28 @@ prepare() {exitfi+ ### Select VMA config+ if [ "$_vma_config" = "standard" ]; then+ echo "Enabling per-VMA locking..."+ scripts/config --enable PER_VMA_LOCK \+ --disable PER_VMA_LOCK_STATS+ elif [ "$_vma_config" = "stats" ]; then+ echo "Enabling per-VMA locking with stats..."+ scripts/config --enable PER_VMA_LOCK \+ --enable PER_VMA_LOCK_STATS+ elif [ "$_vma_config" = "none" ]; then+ echo "Disabling per-VMA locking..."+ scripts/config --disable PER_VMA_LOCK+ else+ if [ -n "$_vma_config" ]; then+ error "The value $_vma_config is invalid. Choose the correct one again."+ else+ error "The value is empty. Choose the correct one again."+ fi+ error "Enabling per-VMA locking failed!"+ exit+ fi+### Select THPif [ "$_hugepage" = "always" ]; thenecho "Enable THP always..."diff --git a/linux-cachyos-tt/.SRCINFO b/linux-cachyos-tt/.SRCINFOindex 547511d8..f87d966b 100644--- a/linux-cachyos-tt/.SRCINFO+++ b/linux-cachyos-tt/.SRCINFO@@ -1,3 +1,5 @@+# Generated by makepkg 6.0.2+# Wed Dec 28 19:50:33 UTC 2022pkgbase = linux-cachyos-ttpkgdesc = Linux TT scheduler Kernel by CachyOS with other patches and improvementspkgver = 6.1.1diff --git a/linux-cachyos-tt/PKGBUILD b/linux-cachyos-tt/PKGBUILDindex 4000c635..ea7df669 100644--- a/linux-cachyos-tt/PKGBUILD+++ b/linux-cachyos-tt/PKGBUILD@@ -97,6 +97,13 @@ _kyber_disable=${_kyber_disable-y}# 'none' - disable multigenerational LRU_lru_config=${_lru_config-'standard'}+### Enable per-VMA locking+# ATTENTION - one of three predefined values should be selected!+# 'standard' - enable per-VMA locking+# 'stats' - enable per-VMA locking with stats+# 'none' - disable per-VMA locking+_vma_config=${_vma_config-'standard'}+### Transparent Hugepages# ATTENTION - one of two predefined values should be selected!# 'always' - always enable THP@@ -500,7 +507,7 @@ prepare() {scripts/config --set-val NR_CPUS "$_nr_cpus"elseecho "Setting default NR_CPUS..."- scripts/config --set-val NR_CPUS 320+ scripts/config --set-val NR_CPUS 128fi### Disable MQ Deadline I/O scheduler@@ -636,6 +643,28 @@ prepare() {exitfi+ ### Select VMA config+ if [ "$_vma_config" = "standard" ]; then+ echo "Enabling per-VMA locking..."+ scripts/config --enable PER_VMA_LOCK \+ --disable PER_VMA_LOCK_STATS+ elif [ "$_vma_config" = "stats" ]; then+ echo "Enabling per-VMA locking with stats..."+ scripts/config --enable PER_VMA_LOCK \+ --enable PER_VMA_LOCK_STATS+ elif [ "$_vma_config" = "none" ]; then+ echo "Disabling per-VMA locking..."+ scripts/config --disable PER_VMA_LOCK+ else+ if [ -n "$_vma_config" ]; then+ error "The value $_vma_config is invalid. Choose the correct one again."+ else+ error "The value is empty. Choose the correct one again."+ fi+ error "Enabling per-VMA locking failed!"+ exit+ fi+### Select THPif [ "$_hugepage" = "always" ]; thenecho "Enable THP always..."diff --git a/linux-cachyos/.SRCINFO b/linux-cachyos/.SRCINFOindex 6019bd15..09e195ca 100644--- a/linux-cachyos/.SRCINFO+++ b/linux-cachyos/.SRCINFO@@ -1,3 +1,5 @@+# Generated by makepkg 6.0.2+# Wed Dec 28 19:48:11 UTC 2022pkgbase = linux-cachyospkgdesc = Linux BORE scheduler Kernel by CachyOS with other patches and improvementspkgver = 6.1.1diff --git a/linux-cachyos/PKGBUILD b/linux-cachyos/PKGBUILDindex 0a8495c7..b94d5b31 100644--- a/linux-cachyos/PKGBUILD+++ b/linux-cachyos/PKGBUILD@@ -97,6 +97,13 @@ _kyber_disable=${_kyber_disable-y}# 'none' - disable multigenerational LRU_lru_config=${_lru_config-'standard'}+### Enable per-VMA locking+# ATTENTION - one of three predefined values should be selected!+# 'standard' - enable per-VMA locking+# 'stats' - enable per-VMA locking with stats+# 'none' - disable per-VMA locking+_vma_config=${_vma_config-'standard'}+### Transparent Hugepages# ATTENTION - one of two predefined values should be selected!# 'always' - always enable THP@@ -500,7 +507,7 @@ prepare() {scripts/config --set-val NR_CPUS "$_nr_cpus"elseecho "Setting default NR_CPUS..."- scripts/config --set-val NR_CPUS 320+ scripts/config --set-val NR_CPUS 128fi### Disable MQ Deadline I/O scheduler@@ -636,6 +643,28 @@ prepare() {exitfi+ ### Select VMA config+ if [ "$_vma_config" = "standard" ]; then+ echo "Enabling per-VMA locking..."+ scripts/config --enable PER_VMA_LOCK \+ --disable PER_VMA_LOCK_STATS+ elif [ "$_vma_config" = "stats" ]; then+ echo "Enabling per-VMA locking with stats..."+ scripts/config --enable PER_VMA_LOCK \+ --enable PER_VMA_LOCK_STATS+ elif [ "$_vma_config" = "none" ]; then+ echo "Disabling per-VMA locking..."+ scripts/config --disable PER_VMA_LOCK+ else+ if [ -n "$_vma_config" ]; then+ error "The value $_vma_config is invalid. Choose the correct one again."+ else+ error "The value is empty. Choose the correct one again."+ fi+ error "Enabling per-VMA locking failed!"+ exit+ fi+### Select THPif [ "$_hugepage" = "always" ]; thenecho "Enable THP always..."diff --git a/linux-cacule-rdb/.SRCINFO b/linux-cacule-rdb/.SRCINFOindex b26afb0c..026c1502 100644--- a/linux-cacule-rdb/.SRCINFO+++ b/linux-cacule-rdb/.SRCINFO@@ -1,3 +1,5 @@+# Generated by makepkg 6.0.2+# Wed Dec 28 19:50:58 UTC 2022pkgbase = linux-cacule-rdbpkgdesc = Linux cacULE-RDB scheduler Kernel by CachyOS with other patches and improvementspkgver = 6.1.1diff --git a/linux-cacule-rdb/PKGBUILD b/linux-cacule-rdb/PKGBUILDindex 6aabfb8c..a6619f97 100644--- a/linux-cacule-rdb/PKGBUILD+++ b/linux-cacule-rdb/PKGBUILD@@ -97,6 +97,13 @@ _kyber_disable=${_kyber_disable-y}# 'none' - disable multigenerational LRU_lru_config=${_lru_config-'standard'}+### Enable per-VMA locking+# ATTENTION - one of three predefined values should be selected!+# 'standard' - enable per-VMA locking+# 'stats' - enable per-VMA locking with stats+# 'none' - disable per-VMA locking+_vma_config=${_vma_config-'standard'}+### Transparent Hugepages# ATTENTION - one of two predefined values should be selected!# 'always' - always enable THP@@ -500,7 +507,7 @@ prepare() {scripts/config --set-val NR_CPUS "$_nr_cpus"elseecho "Setting default NR_CPUS..."- scripts/config --set-val NR_CPUS 320+ scripts/config --set-val NR_CPUS 128fi### Disable MQ Deadline I/O scheduler@@ -636,6 +643,28 @@ prepare() {exitfi+ ### Select VMA config+ if [ "$_vma_config" = "standard" ]; then+ echo "Enabling per-VMA locking..."+ scripts/config --enable PER_VMA_LOCK \+ --disable PER_VMA_LOCK_STATS+ elif [ "$_vma_config" = "stats" ]; then+ echo "Enabling per-VMA locking with stats..."+ scripts/config --enable PER_VMA_LOCK \+ --enable PER_VMA_LOCK_STATS+ elif [ "$_vma_config" = "none" ]; then+ echo "Disabling per-VMA locking..."+ scripts/config --disable PER_VMA_LOCK+ else+ if [ -n "$_vma_config" ]; then+ error "The value $_vma_config is invalid. Choose the correct one again."+ else+ error "The value is empty. Choose the correct one again."+ fi+ error "Enabling per-VMA locking failed!"+ exit+ fi+### Select THPif [ "$_hugepage" = "always" ]; thenecho "Enable THP always..."diff --git a/linux-cacule/.SRCINFO b/linux-cacule/.SRCINFOindex e2178286..d96089b7 100644--- a/linux-cacule/.SRCINFO+++ b/linux-cacule/.SRCINFO@@ -1,3 +1,5 @@+# Generated by makepkg 6.0.2+# Wed Dec 28 19:50:46 UTC 2022pkgbase = linux-caculepkgdesc = Linux cacULE scheduler Kernel by CachyOS with other patches and improvementspkgver = 6.1.1diff --git a/linux-cacule/PKGBUILD b/linux-cacule/PKGBUILDindex 1acc246a..f224ef12 100644--- a/linux-cacule/PKGBUILD+++ b/linux-cacule/PKGBUILD@@ -97,6 +97,13 @@ _kyber_disable=${_kyber_disable-y}# 'none' - disable multigenerational LRU_lru_config=${_lru_config-'standard'}+### Enable per-VMA locking+# ATTENTION - one of three predefined values should be selected!+# 'standard' - enable per-VMA locking+# 'stats' - enable per-VMA locking with stats+# 'none' - disable per-VMA locking+_vma_config=${_vma_config-'standard'}+### Transparent Hugepages# ATTENTION - one of two predefined values should be selected!# 'always' - always enable THP@@ -500,7 +507,7 @@ prepare() {scripts/config --set-val NR_CPUS "$_nr_cpus"elseecho "Setting default NR_CPUS..."- scripts/config --set-val NR_CPUS 320+ scripts/config --set-val NR_CPUS 128fi### Disable MQ Deadline I/O scheduler@@ -636,6 +643,28 @@ prepare() {exitfi+ ### Select VMA config+ if [ "$_vma_config" = "standard" ]; then+ echo "Enabling per-VMA locking..."+ scripts/config --enable PER_VMA_LOCK \+ --disable PER_VMA_LOCK_STATS+ elif [ "$_vma_config" = "stats" ]; then+ echo "Enabling per-VMA locking with stats..."+ scripts/config --enable PER_VMA_LOCK \+ --enable PER_VMA_LOCK_STATS+ elif [ "$_vma_config" = "none" ]; then+ echo "Disabling per-VMA locking..."+ scripts/config --disable PER_VMA_LOCK+ else+ if [ -n "$_vma_config" ]; then+ error "The value $_vma_config is invalid. Choose the correct one again."+ else+ error "The value is empty. Choose the correct one again."+ fi+ error "Enabling per-VMA locking failed!"+ exit+ fi+### Select THPif [ "$_hugepage" = "always" ]; thenecho "Enable THP always..."diff --git a/linux-tt/.SRCINFO b/linux-tt/.SRCINFOindex b527ef9a..3c4591bc 100644--- a/linux-tt/.SRCINFO+++ b/linux-tt/.SRCINFO@@ -1,3 +1,5 @@+# Generated by makepkg 6.0.2+# Wed Dec 28 19:51:14 UTC 2022pkgbase = linux-ttpkgdesc = Linux TT scheduler Kernel by CachyOS with other patches and improvementspkgver = 6.1.1diff --git a/linux-tt/PKGBUILD b/linux-tt/PKGBUILDindex 1646f990..9b091b71 100644--- a/linux-tt/PKGBUILD+++ b/linux-tt/PKGBUILD@@ -97,6 +97,13 @@ _kyber_disable=${_kyber_disable-y}# 'none' - disable multigenerational LRU_lru_config=${_lru_config-'standard'}+### Enable per-VMA locking+# ATTENTION - one of three predefined values should be selected!+# 'standard' - enable per-VMA locking+# 'stats' - enable per-VMA locking with stats+# 'none' - disable per-VMA locking+_vma_config=${_vma_config-'standard'}+### Transparent Hugepages# ATTENTION - one of two predefined values should be selected!# 'always' - always enable THP@@ -500,7 +507,7 @@ prepare() {scripts/config --set-val NR_CPUS "$_nr_cpus"elseecho "Setting default NR_CPUS..."- scripts/config --set-val NR_CPUS 320+ scripts/config --set-val NR_CPUS 128fi### Disable MQ Deadline I/O scheduler@@ -636,6 +643,28 @@ prepare() {exitfi+ ### Select VMA config+ if [ "$_vma_config" = "standard" ]; then+ echo "Enabling per-VMA locking..."+ scripts/config --enable PER_VMA_LOCK \+ --disable PER_VMA_LOCK_STATS+ elif [ "$_vma_config" = "stats" ]; then+ echo "Enabling per-VMA locking with stats..."+ scripts/config --enable PER_VMA_LOCK \+ --enable PER_VMA_LOCK_STATS+ elif [ "$_vma_config" = "none" ]; then+ echo "Disabling per-VMA locking..."+ scripts/config --disable PER_VMA_LOCK+ else+ if [ -n "$_vma_config" ]; then+ error "The value $_vma_config is invalid. Choose the correct one again."+ else+ error "The value is empty. Choose the correct one again."+ fi+ error "Enabling per-VMA locking failed!"+ exit+ fi+### Select THPif [ "$_hugepage" = "always" ]; thenecho "Enable THP always..."