Archlinux Kernel based on different schedulers and some other performance improvements.
Shell archlinuxbaby-schedcachycachy-schedulercachyoscacule-schedkernellinux-kernelperformanceperformance-tuning
5.15.7-3
P. Jung6957e85c00ed
diff --git a/README.md b/README.mdindex 62dfa73a..771eb2f5 100644--- a/README.md+++ b/README.md@@ -9,16 +9,17 @@ The CachyOS are improved kernels which improve the performance and other improve- BitMap Queue (BMQ) Alfred Chen Scheduler - linux-cachyos-bmq- Priority and Deadline based Skiplist multiple queue scheduler (PDS) - Alfred Chen Scheduler » linux-cachyos-pds- Task Type Scheduler by Hamad Marri (TT) - linux-cachyos-tt+- BORE (Burst-Oriented Response Enhancer) CPU Scheduler by firelzrd (BORE) - linux-cachyos-bore**All kernels are prebuilt in two different march versions (x86_64 and x86_64_v3) and also with the lto enabled kernels in the cachyos repo.**## Features- Very customizable PKGBUILD with many features and improvements-- 5 Different scheduler are supported, CacULE-,CFS-,tt-,bmq- and pds scheduler+- 5 Different scheduler are supported, CacULE-,CFS-,tt-,bmq-,bore-, and pds scheduler- GCC/CLANG Optimization with automatically found cpu arch or also selectable cpu arch- Choose between LLVM/LTO or GCC-- Choose between 500Hz, , 600 Hz ,750Hz, 1000Hz, 2000Hz+- Choose between 500Hz, , 600 Hz ,750Hz, 1000Hz- Improved BFQ Scheduler- Generell improved ssctl settings and upstream scheduler fixes- Latest LRU Patch-setdiff --git a/linux-bore/.SRCINFO b/linux-bore/.SRCINFOindex 018ce740..8ffcbad0 100644--- a/linux-bore/.SRCINFO+++ b/linux-bore/.SRCINFO@@ -21,7 +21,7 @@ pkgbase = linux-boreoptions = !stripsource = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.15.7.tar.xzsource = config- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-bore-sched.patch+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/bore/0001-bore-sched.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-arch-patches.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-cfi.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-page-table-check.patch@@ -44,7 +44,6 @@ pkgbase = linux-boresource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-futex-wait.v-fsync-winesync.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-hwmon-patches.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-ksmbd-patches.patch- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-damon.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-pf-patches.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-lqx-patches.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-lrng-patches.patch@@ -57,7 +56,7 @@ pkgbase = linux-boresource = auto-cpu-optimization.shmd5sums = b79700122766ccf561f032eb3c8da27emd5sums = 1ccb20b7c46bfdae67ee99dcb9e7f618- md5sums = 468f2a4ac2e33046b7d54a33e66e4e59+ md5sums = 22552abc3fe996c2e89980e13e5583a3md5sums = 2627c6fcd9760b0e7a3553500db0a7e1md5sums = e3fa8507aed6ef3ce37e62f18fe9b7e1md5sums = 152706f6ebbe9917c6a5955cd5447344@@ -80,7 +79,6 @@ pkgbase = linux-boremd5sums = 8c354c3d1962ec6785db7f0c3fbbab03md5sums = 9b6369bc4c58ad0d9195b5c204ed4b8amd5sums = c6efda5716e4ff79ebdbc963bebd851a- md5sums = 408dfabb34f2b79aa2f5044b052703dbmd5sums = 08c84362cb916b30d9c77e35b1b3bc54md5sums = 56fdf3562b041c0408d9751b7e447977md5sums = b09b84168822521426f197610727618bdiff --git a/linux-bore/PKGBUILD b/linux-bore/PKGBUILDindex ef78057e..8a51cb8a 100644--- a/linux-bore/PKGBUILD+++ b/linux-bore/PKGBUILD@@ -48,8 +48,7 @@ _fsync=y#enable winesync_winesync=y-### Running with a 2000 HZ, 1000HZ, 750Hz or 500HZ tick rate-_2k_HZ_ticks=+### Running with a 1000HZ, 750Hz or 500HZ tick rate_1k_HZ_ticks=_750_HZ_ticks=y_600_HZ_ticks=@@ -148,7 +147,7 @@ _patchsource="https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.source=("https://cdn.kernel.org/pub/linux/kernel/v${pkgver%%.*}.x/${_srcname}.tar.xz""config"- "${_patchsource}/0001-bore-sched.patch"+ "${_patchsource}/bore/0001-bore-sched.patch""${_patchsource}/0001-arch-patches.patch""${_patchsource}/0001-cfi.patch""${_patchsource}/0001-page-table-check.patch"@@ -171,7 +170,7 @@ source=("${_patchsource}/0001-futex-wait.v-fsync-winesync.patch""${_patchsource}/0001-hwmon-patches.patch""${_patchsource}/0001-ksmbd-patches.patch"- "${_patchsource}/0001-damon.patch"+# "${_patchsource}/0001-damon-patches.patch""${_patchsource}/0001-pf-patches.patch""${_patchsource}/0001-lqx-patches.patch""${_patchsource}/0001-lrng-patches.patch"@@ -262,15 +261,6 @@ prepare() {cpu_archfi-- ### Optionally set tickrate to 2000HZ- if [ -n "$_2k_HZ_ticks" ]; then- echo "Setting tick rate to 2k..."- scripts/config --disable CONFIG_HZ_300- scripts/config --enable CONFIG_HZ_2000- scripts/config --set-val CONFIG_HZ 2000- fi-### Optionally set tickrate to 1000if [ -n "$_1k_HZ_ticks" ]; thenecho "Setting tick rate to 1k..."@@ -423,11 +413,10 @@ prepare() {fiif [ -n "$_use_page_check" ]; then- echo "Enable Page Table Check"+ echo "Enable Page Table Check"scripts/config --enable ARCH_SUPPORTS_PAGE_TABLE_CHECKscripts/config --enable CONFIG_PAGE_TABLE_CHECKscripts/config --enable CONFIG_PAGE_TABLE_CHECK_ENFORCED-fi### Selecting the ZSTD compression level@@ -469,9 +458,8 @@ prepare() {exitfi-+ echo "Enable BORE Scheduler"scripts/config --enable CONFIG_BS_SCHED-echo "Disabling TCP_CONG_CUBIC..."scripts/config --module CONFIG_TCP_CONG_CUBICscripts/config --disable CONFIG_DEFAULT_CUBIC@@ -487,7 +475,7 @@ prepare() {scripts/config --enable CONFIG_CPU_FREQ_GOV_CONSERVATIVEscripts/config --enable CONFIG_CPU_FREQ_GOV_USERSPACEscripts/config --enable CONFIG_CPU_FREQ_GOV_SCHEDUTIL- echo "Enable AMD PSTATE v2 driver"+ echo "Enable AMD PSTATE driver"scripts/config --enable CONFIG_X86_AMD_PSTATEscripts/config --enable CONFIG_AMD_PTDMAecho "Enable Anbox"@@ -663,7 +651,7 @@ donemd5sums=('b79700122766ccf561f032eb3c8da27e''1ccb20b7c46bfdae67ee99dcb9e7f618'- '468f2a4ac2e33046b7d54a33e66e4e59'+ '22552abc3fe996c2e89980e13e5583a3''2627c6fcd9760b0e7a3553500db0a7e1''e3fa8507aed6ef3ce37e62f18fe9b7e1''152706f6ebbe9917c6a5955cd5447344'@@ -686,7 +674,6 @@ md5sums=('b79700122766ccf561f032eb3c8da27e''8c354c3d1962ec6785db7f0c3fbbab03''9b6369bc4c58ad0d9195b5c204ed4b8a''c6efda5716e4ff79ebdbc963bebd851a'- '408dfabb34f2b79aa2f5044b052703db''08c84362cb916b30d9c77e35b1b3bc54''56fdf3562b041c0408d9751b7e447977''b09b84168822521426f197610727618b'diff --git a/linux-cachyos-bmq/.SRCINFO b/linux-cachyos-bmq/.SRCINFOindex 418e9115..8e6da35f 100644--- a/linux-cachyos-bmq/.SRCINFO+++ b/linux-cachyos-bmq/.SRCINFO@@ -1,7 +1,7 @@pkgbase = linux-cachyos-bmqpkgdesc = Linux CFS scheduler Kernel by CachyOS and with some other patches and other improvementspkgver = 5.15.7- pkgrel = 2+ pkgrel = 3url = https://github.com/CachyOS/linux-cachyosarch = x86_64arch = x86_64_v3@@ -32,6 +32,7 @@ pkgbase = linux-cachyos-bmqsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-block-patches.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-cpu-patches.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-misc.patch+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-page-table-check.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-btrfs-patches.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-clearlinux-patches.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-intel-patches.patch@@ -40,7 +41,6 @@ pkgbase = linux-cachyos-bmqsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-futex-wait.v-fsync-winesync.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-hwmon-patches.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-ksmbd-patches.patch- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-damon.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-pf-patches.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-lqx-patches.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-lrng-patches.patch@@ -64,6 +64,7 @@ pkgbase = linux-cachyos-bmqmd5sums = 56ceaed8bfb44eca93298ccc5fe11ca7md5sums = 67764a5824b567b49bcce19c01d4e1b3md5sums = 299b176cbfc1b386d74406387e9e2d6b+ md5sums = 152706f6ebbe9917c6a5955cd5447344md5sums = 5b9a009ab68ba548e9d06e0932ab967dmd5sums = 41887f2f959068e41756f4c39671ca79md5sums = b04c8a3f01b3dfba1410e2c26ec7d975@@ -72,7 +73,6 @@ pkgbase = linux-cachyos-bmqmd5sums = 8c354c3d1962ec6785db7f0c3fbbab03md5sums = 9b6369bc4c58ad0d9195b5c204ed4b8amd5sums = c6efda5716e4ff79ebdbc963bebd851a- md5sums = 408dfabb34f2b79aa2f5044b052703dbmd5sums = 08c84362cb916b30d9c77e35b1b3bc54md5sums = 56fdf3562b041c0408d9751b7e447977md5sums = b09b84168822521426f197610727618bdiff --git a/linux-cachyos-bmq/PKGBUILD b/linux-cachyos-bmq/PKGBUILDindex 939fafa2..cf50483c 100644--- a/linux-cachyos-bmq/PKGBUILD+++ b/linux-cachyos-bmq/PKGBUILD@@ -79,6 +79,8 @@ _use_optimization_select=### Enable DAMON_damon=+_use_page_check=y+### Selecting the ZSTD compression level# ATTENTION - one of two predefined values should be selected!# 'ultra' - highest compression ratio@@ -127,7 +129,7 @@ _srcname=linux-${pkgver}arch=(x86_64 x86_64_v3)pkgdesc='Linux CFS scheduler Kernel by CachyOS and with some other patches and other improvements'_srcname=linux-${pkgver}-pkgrel=2+pkgrel=3arch=('x86_64' 'x86_64_v3')url="https://github.com/CachyOS/linux-cachyos"license=('GPL2')@@ -154,16 +156,16 @@ source=("https://cdn.kernel.org/pub/linux/kernel/v${pkgver%%.*}.x/${_srcname}.ta"${_patchsource}/0001-block-patches.patch""${_patchsource}/0001-cpu-patches.patch""${_patchsource}/0001-misc.patch"+ "${_patchsource}/0001-page-table-check.patch""${_patchsource}/0001-btrfs-patches.patch""${_patchsource}/0001-clearlinux-patches.patch""${_patchsource}/0001-intel-patches.patch""${_patchsource}/0001-ntfs3.patch"-# "${_patchsource}/0001-ck-hrtimer.patch""${_patchsource}/0001-fixes-miscellaneous.patch""${_patchsource}/0001-futex-wait.v-fsync-winesync.patch""${_patchsource}/0001-hwmon-patches.patch""${_patchsource}/0001-ksmbd-patches.patch"- "${_patchsource}/0001-damon.patch"+# "${_patchsource}/0001-damon-patches.patch""${_patchsource}/0001-pf-patches.patch""${_patchsource}/0001-lqx-patches.patch""${_patchsource}/0001-lrng-patches.patch"@@ -256,185 +258,183 @@ prepare() {fiif [ -n "$_use_cfi" ] && [ -n "$_use_llvm_lto" ]; then- scripts/config --enable CONFIG_ARCH_SUPPORTS_CFI_CLANG- scripts/config --enable CONFIG_CFI_CLANG- fi+ scripts/config --enable CONFIG_ARCH_SUPPORTS_CFI_CLANG+ scripts/config --enable CONFIG_CFI_CLANG+ fi- if [ -n "$_use_pgo" ]; then- scripts/config --enable CONFIG_ARCH_SUPPORTS_PGO_CLANG- scripts/config --enable DEBUG_FS- scripts/config --enable CONFIG_PGO_CLANG- fi+ if [ -n "$_use_pgo" ]; then+ scripts/config --enable CONFIG_ARCH_SUPPORTS_PGO_CLANG+ scripts/config --enable DEBUG_FS+ scripts/config --enable CONFIG_PGO_CLANG+ fi- ### Microarchitecture Optimization (GCC/CLANG)- if [ -n "$_use_auto_optimization" ]; then- "${srcdir}"/auto-cpu-optimization.sh- fi+ ### Microarchitecture Optimization (GCC/CLANG)+ if [ -n "$_use_auto_optimization" ]; then+ "${srcdir}"/auto-cpu-optimization.sh+ fi- if [ -n "$_use_optimization_select" ]; then- source "${startdir}"/configure- cpu_arch- fi+ if [ -n "$_use_optimization_select" ]; then+ source "${startdir}"/configure+ cpu_arch+ fi+ ### Optionally set tickrate to 1000+ if [ -n "$_1k_HZ_ticks" ]; then+ echo "Setting tick rate to 1k..."+ scripts/config --disable CONFIG_HZ_300+ scripts/config --enable CONFIG_HZ_1000+ scripts/config --set-val CONFIG_HZ 1000+ fi- ### Optionally set tickrate to 2000HZ- if [ -n "$_2k_HZ_ticks" ]; then- echo "Setting tick rate to 2k..."- scripts/config --disable CONFIG_HZ_300- scripts/config --enable CONFIG_HZ_2000- scripts/config --set-val CONFIG_HZ 2000- fi+ ### Optionally set tickrate to 750HZ+ if [ -n "$_750_HZ_ticks" ]; then+ echo "Setting tick rate to 750HZ..."+ scripts/config --disable CONFIG_HZ_300+ scripts/config --enable CONFIG_HZ_750+ scripts/config --set-val CONFIG_HZ 750+ fi- ### Optionally set tickrate to 1000- if [ -n "$_1k_HZ_ticks" ]; then- echo "Setting tick rate to 1k..."- scripts/config --disable CONFIG_HZ_300- scripts/config --enable CONFIG_HZ_1000- scripts/config --set-val CONFIG_HZ 1000- fi+ ### Optionally set tickrate to 600HZ+ if [ -n "$_600_HZ_ticks" ]; then+ echo "Setting tick rate to 600HZ..."+ scripts/config --disable CONFIG_HZ_300+ scripts/config --enable CONFIG_HZ_600+ scripts/config --set-val CONFIG_HZ 600+ fi- ### Optionally set tickrate to 750HZ- if [ -n "$_750_HZ_ticks" ]; then- echo "Setting tick rate to 750HZ..."- scripts/config --disable CONFIG_HZ_300- scripts/config --enable CONFIG_HZ_750- scripts/config --set-val CONFIG_HZ 750- fi+ ### Optionally set tickrate to 500HZ+ if [ -n "$_500_HZ_ticks" ]; then+ echo "Setting tick rate to 500HZ..."+ scripts/config --disable CONFIG_HZ_300+ scripts/config --enable CONFIG_HZ_500+ scripts/config --set-val CONFIG_HZ 500+ fi- ### Optionally set tickrate to 600HZ- if [ -n "$_600_HZ_ticks" ]; then- echo "Setting tick rate to 600HZ..."- scripts/config --disable CONFIG_HZ_300- scripts/config --enable CONFIG_HZ_600- scripts/config --set-val CONFIG_HZ 600- fi+ ### Optionally disable NUMA for 64-bit kernels only+ # (x86 kernels do not support NUMA)+ if [ -n "$_NUMAdisable" ]; then+ echo "Disabling NUMA from kernel config..."+ scripts/config --disable CONFIG_NUMA+ fi- ### Optionally set tickrate to 500HZ- if [ -n "$_500_HZ_ticks" ]; then- echo "Setting tick rate to 500HZ..."- scripts/config --disable CONFIG_HZ_300- scripts/config --enable CONFIG_HZ_500- scripts/config --set-val CONFIG_HZ 500- fi+ if [ -n "$_fsync" ]; then+ echo "Enable Fsync support"+ scripts/config --enable CONFIG_FUTEX+ scripts/config --enable CONFIG_FUTEX_PI+ fi- ### Optionally disable NUMA for 64-bit kernels only- # (x86 kernels do not support NUMA)- if [ -n "$_NUMAdisable" ]; then- echo "Disabling NUMA from kernel config..."- scripts/config --disable CONFIG_NUMA- fi- if [ -n "$_fsync" ]; then- echo "Enable Fsync support"- scripts/config --enable CONFIG_FUTEX- scripts/config --enable CONFIG_FUTEX_PI- fi+ if [ -n "$_winesync" ]; then+ echo "Enable winesync support"+ scripts/config --module CONFIG_WINESYNC+ fi+ ### Disable MQ-Deadline I/O scheduler+ if [ -n "$_mq_deadline_disable" ]; then+ echo "Disabling MQ-Deadline I/O scheduler..."+ scripts/config --disable CONFIG_MQ_IOSCHED_DEADLINE+ fi- if [ -n "$_winesync" ]; then- echo "Enable winesync support"- scripts/config --module CONFIG_WINESYNC- fi+ ### Disable Kyber I/O scheduler+ if [ -n "$_kyber_disable" ]; then+ echo "Disabling Kyber I/O scheduler..."+ scripts/config --disable CONFIG_MQ_IOSCHED_KYBER+ fi- ### Disable MQ-Deadline I/O scheduler- if [ -n "$_mq_deadline_disable" ]; then- echo "Disabling MQ-Deadline I/O scheduler..."- scripts/config --disable CONFIG_MQ_IOSCHED_DEADLINE- fi- ### Disable Kyber I/O scheduler- if [ -n "$_kyber_disable" ]; then- echo "Disabling Kyber I/O scheduler..."- scripts/config --disable CONFIG_MQ_IOSCHED_KYBER- fi+ ### Enable protect mappings under memory pressure+ if [ -n "$_mm_protect" ]; then+ echo "Enabling protect file mappings under memory pressure..."+ scripts/config --enable CONFIG_UNEVICTABLE_FILE+ scripts/config --set-val CONFIG_UNEVICTABLE_FILE_KBYTES_LOW 0+ scripts/config --set-val CONFIG_UNEVICTABLE_FILE_KBYTES_MIN 0+ echo "Enabling protect anonymous mappings under memory pressure..."+ scripts/config --enable CONFIG_UNEVICTABLE_ANON+ scripts/config --set-val CONFIG_UNEVICTABLE_ANON_KBYTES_LOW 0+ scripts/config --set-val CONFIG_UNEVICTABLE_ANON_KBYTES_MIN 0+ fi+ ### Enable multigenerational LRU+ if [ -n "$_lru_enable" ]; then+ echo "Enabling multigenerational LRU..."+ scripts/config --enable CONFIG_ARCH_HAS_NONLEAF_PMD_YOUNG+ scripts/config --enable CONFIG_LRU_GEN+ scripts/config --set-val CONFIG_NR_LRU_GENS 7+ scripts/config --set-val CONFIG_TIERS_PER_GEN 4+ scripts/config --enable CONFIG_LRU_GEN_ENABLED+ scripts/config --disable CONFIG_LRU_GEN_STATS+ fi- ### Enable protect mappings under memory pressure- if [ -n "$_mm_protect" ]; then- echo "Enabling protect file mappings under memory pressure..."- scripts/config --enable CONFIG_UNEVICTABLE_FILE- scripts/config --set-val CONFIG_UNEVICTABLE_FILE_KBYTES_LOW 0- scripts/config --set-val CONFIG_UNEVICTABLE_FILE_KBYTES_MIN 0- echo "Enabling protect anonymous mappings under memory pressure..."- scripts/config --enable CONFIG_UNEVICTABLE_ANON- scripts/config --set-val CONFIG_UNEVICTABLE_ANON_KBYTES_LOW 0- scripts/config --set-val CONFIG_UNEVICTABLE_ANON_KBYTES_MIN 0- fi-- ### Enable multigenerational LRU- if [ -n "$_lru_enable" ]; then- echo "Enabling multigenerational LRU..."- scripts/config --enable CONFIG_ARCH_HAS_NONLEAF_PMD_YOUNG- scripts/config --enable CONFIG_LRU_GEN- scripts/config --set-val CONFIG_NR_LRU_GENS 7- scripts/config --set-val CONFIG_TIERS_PER_GEN 4- scripts/config --enable CONFIG_LRU_GEN_ENABLED- scripts/config --disable CONFIG_LRU_GEN_STATS- fi+ ### Enable DAMON+ if [ -n "$_damon" ]; then+ echo "Enabling DAMON..."+ scripts/config --enable CONFIG_DAMON+ scripts/config --disable CONFIG_DAMON_VADDR+ scripts/config --disable CONFIG_DAMON_DBGFS+ scripts/config --enable CONFIG_DAMON_PADDR+ scripts/config --enable CONFIG_DAMON_RECLAIM+ fi- ### Enable DAMON- if [ -n "$_damon" ]; then- echo "Enabling DAMON..."- scripts/config --enable CONFIG_DAMON- scripts/config --disable CONFIG_DAMON_VADDR- scripts/config --disable CONFIG_DAMON_DBGFS- scripts/config --enable CONFIG_DAMON_PADDR- scripts/config --enable CONFIG_DAMON_RECLAIM- fi+ ### Enable Linux Random Number Generator+ if [ -n "$_lrng_enable" ]; then+ echo "Enabling Linux Random Number Generator ..."+ echo "Enabling Linux Random Number Generator with pfkernel config..."+ scripts/config --enable CONFIG_LRNG+ scripts/config --enable CONFIG_LRNG_OVERSAMPLE_ENTROPY_SOURCES+ scripts/config --set-val CONFIG_CONFIG_LRNG_OVERSAMPLE_ES_BITS 64+ scripts/config --set-val CONFIG_LRNG_SEED_BUFFER_INIT_ADD_BITS 128+ scripts/config --enable CONFIG_LRNG_IRQ+ scripts/config --enable CONFIG_LRNG_CONTINUOUS_COMPRESSION_ENABLED+ scripts/config --disable CONFIG_LRNG_CONTINUOUS_COMPRESSION_DISABLED+ scripts/config --enable CONFIG_LRNG_ENABLE_CONTINUOUS_COMPRESSION+ scripts/config --enable CONFIG_LRNG_SWITCHABLE_CONTINUOUS_COMPRESSION+ scripts/config --disable CONFIG_LRNG_COLLECTION_SIZE_512+ scripts/config --enable CONFIG_LRNG_COLLECTION_SIZE_1024+ scripts/config --disable CONFIG_LRNG_COLLECTION_SIZE_2048+ scripts/config --disable CONFIG_LRNG_COLLECTION_SIZE_4096+ scripts/config --disable CONFIG_LRNG_COLLECTION_SIZE_8192+ scripts/config --set-val CONFIG_LRNG_COLLECTION_SIZE 1024+ scripts/config --enable CONFIG_LRNG_HEALTH_TESTS+ scripts/config --set-val CONFIG_LRNG_RCT_CUTOFF 31+ scripts/config --set-val CONFIG_LRNG_APT_CUTOFF 325+ scripts/config --set-val CONFIG_LRNG_IRQ_ENTROPY_RATE 256+ scripts/config --enable CONFIG_LRNG_JENT+ scripts/config --set-val CONFIG_LRNG_JENT_ENTROPY_RATE 16+ scripts/config --enable CONFIG_LRNG_CPU+ scripts/config --set-val CONFIG_LRNG_CPU_ENTROPY_RATE 8+ scripts/config --enable CONFIG_LRNG_DRNG_SWITCH+ scripts/config --enable CONFIG_LRNG_KCAPI_HASH+ scripts/config --module CONFIG_LRNG_DRBG+ scripts/config --module CONFIG_LRNG_KCAPI+ scripts/config --enable CONFIG_LRNG_TESTING_MENU+ scripts/config --disable CONFIG_LRNG_RAW_HIRES_ENTROPY+ scripts/config --disable CONFIG_LRNG_RAW_JIFFIES_ENTROPY+ scripts/config --disable CONFIG_LRNG_RAW_IRQ_ENTROPY+ scripts/config --disable CONFIG_LRNG_RAW_IRQFLAGS_ENTROPY+ scripts/config --disable CONFIG_LRNG_RAW_RETIP_ENTROPY+ scripts/config --disable CONFIG_LRNG_RAW_REGS_ENTROPY+ scripts/config --disable CONFIG_LRNG_RAW_ARRAY+ scripts/config --disable CONFIG_LRNG_IRQ_PERF+ scripts/config --disable CONFIG_LRNG_ACVT_HASH+ scripts/config --enable CONFIG_LRNG_RUNTIME_ES_CONFIG+ scripts/config --disable CONFIG_LRNG_RUNTIME_MAX_WO_RESEED_CONFIG+ scripts/config --disable CONFIG_LRNG_TEST_CPU_ES_COMPRESSION+ scripts/config --enable CONFIG_LRNG_SELFTEST+ scripts/config --disable CONFIG_LRNG_SELFTEST_PANIC+ fi- ### Enable Linux Random Number Generator- if [ -n "$_lrng_enable" ]; then- echo "Enabling Linux Random Number Generator ..."- echo "Enabling Linux Random Number Generator with pfkernel config..."- scripts/config --enable CONFIG_LRNG- scripts/config --enable CONFIG_LRNG_OVERSAMPLE_ENTROPY_SOURCES- scripts/config --set-val CONFIG_CONFIG_LRNG_OVERSAMPLE_ES_BITS 64- scripts/config --set-val CONFIG_LRNG_SEED_BUFFER_INIT_ADD_BITS 128- scripts/config --enable CONFIG_LRNG_IRQ- scripts/config --enable CONFIG_LRNG_CONTINUOUS_COMPRESSION_ENABLED- scripts/config --disable CONFIG_LRNG_CONTINUOUS_COMPRESSION_DISABLED- scripts/config --enable CONFIG_LRNG_ENABLE_CONTINUOUS_COMPRESSION- scripts/config --enable CONFIG_LRNG_SWITCHABLE_CONTINUOUS_COMPRESSION- scripts/config --disable CONFIG_LRNG_COLLECTION_SIZE_512- scripts/config --enable CONFIG_LRNG_COLLECTION_SIZE_1024- scripts/config --disable CONFIG_LRNG_COLLECTION_SIZE_2048- scripts/config --disable CONFIG_LRNG_COLLECTION_SIZE_4096- scripts/config --disable CONFIG_LRNG_COLLECTION_SIZE_8192- scripts/config --set-val CONFIG_LRNG_COLLECTION_SIZE 1024- scripts/config --enable CONFIG_LRNG_HEALTH_TESTS- scripts/config --set-val CONFIG_LRNG_RCT_CUTOFF 31- scripts/config --set-val CONFIG_LRNG_APT_CUTOFF 325- scripts/config --set-val CONFIG_LRNG_IRQ_ENTROPY_RATE 256- scripts/config --enable CONFIG_LRNG_JENT- scripts/config --set-val CONFIG_LRNG_JENT_ENTROPY_RATE 16- scripts/config --enable CONFIG_LRNG_CPU- scripts/config --set-val CONFIG_LRNG_CPU_ENTROPY_RATE 8- scripts/config --enable CONFIG_LRNG_DRNG_SWITCH- scripts/config --enable CONFIG_LRNG_KCAPI_HASH- scripts/config --module CONFIG_LRNG_DRBG- scripts/config --module CONFIG_LRNG_KCAPI- scripts/config --enable CONFIG_LRNG_TESTING_MENU- scripts/config --disable CONFIG_LRNG_RAW_HIRES_ENTROPY- scripts/config --disable CONFIG_LRNG_RAW_JIFFIES_ENTROPY- scripts/config --disable CONFIG_LRNG_RAW_IRQ_ENTROPY- scripts/config --disable CONFIG_LRNG_RAW_IRQFLAGS_ENTROPY- scripts/config --disable CONFIG_LRNG_RAW_RETIP_ENTROPY- scripts/config --disable CONFIG_LRNG_RAW_REGS_ENTROPY- scripts/config --disable CONFIG_LRNG_RAW_ARRAY- scripts/config --disable CONFIG_LRNG_IRQ_PERF- scripts/config --disable CONFIG_LRNG_ACVT_HASH- scripts/config --enable CONFIG_LRNG_RUNTIME_ES_CONFIG- scripts/config --disable CONFIG_LRNG_RUNTIME_MAX_WO_RESEED_CONFIG- scripts/config --disable CONFIG_LRNG_TEST_CPU_ES_COMPRESSION- scripts/config --enable CONFIG_LRNG_SELFTEST- scripts/config --disable CONFIG_LRNG_SELFTEST_PANIC- fi+ echo "Enable LLVM LTO"+ if [ -n "$_use_llvm_lto" ]; then+ scripts/config --disable CONFIG_LTO_NONE+ fi- echo "Enable LLVM LTO"- if [ -n "$_use_llvm_lto" ]; then- scripts/config --disable CONFIG_LTO_NONE- fi+ if [ -n "$_use_page_check" ]; then+ echo "Enable Page Table Check"+ scripts/config --enable ARCH_SUPPORTS_PAGE_TABLE_CHECK+ scripts/config --enable CONFIG_PAGE_TABLE_CHECK+ scripts/config --enable CONFIG_PAGE_TABLE_CHECK_ENFORCED+ fi### Selecting the ZSTD compression levelif [ "$_zstd_level" = "ultra" ]; then@@ -494,7 +494,7 @@ prepare() {scripts/config --enable CONFIG_CPU_FREQ_GOV_CONSERVATIVEscripts/config --enable CONFIG_CPU_FREQ_GOV_USERSPACEscripts/config --enable CONFIG_CPU_FREQ_GOV_SCHEDUTIL- echo "Enable AMD PSTATE v2 driver"+ echo "Enable AMD PSTATE driver"scripts/config --enable CONFIG_X86_AMD_PSTATEscripts/config --enable CONFIG_AMD_PTDMAecho "Enable Anbox"@@ -679,6 +679,7 @@ md5sums=('b79700122766ccf561f032eb3c8da27e''56ceaed8bfb44eca93298ccc5fe11ca7''67764a5824b567b49bcce19c01d4e1b3''299b176cbfc1b386d74406387e9e2d6b'+ '152706f6ebbe9917c6a5955cd5447344''5b9a009ab68ba548e9d06e0932ab967d''41887f2f959068e41756f4c39671ca79''b04c8a3f01b3dfba1410e2c26ec7d975'@@ -687,7 +688,6 @@ md5sums=('b79700122766ccf561f032eb3c8da27e''8c354c3d1962ec6785db7f0c3fbbab03''9b6369bc4c58ad0d9195b5c204ed4b8a''c6efda5716e4ff79ebdbc963bebd851a'- '408dfabb34f2b79aa2f5044b052703db''08c84362cb916b30d9c77e35b1b3bc54''56fdf3562b041c0408d9751b7e447977''b09b84168822521426f197610727618b'diff --git a/linux-cachyos-bore/.SRCINFO b/linux-cachyos-bore/.SRCINFOindex 63af0f80..ecce708c 100644--- a/linux-cachyos-bore/.SRCINFO+++ b/linux-cachyos-bore/.SRCINFO@@ -1,7 +1,7 @@-pkgbase = linux-cachyos-bore+pkgbase = linux-cachyos-bore-ltopkgdesc = Linux BORE scheduler Kernel by CachyOS and with some other patches and other improvementspkgver = 5.15.7- pkgrel = 3+ pkgrel = 4url = https://github.com/CachyOS/linux-cachyosarch = x86_64arch = x86_64_v3@@ -18,10 +18,18 @@ pkgbase = linux-cachyos-boremakedepends = perlmakedepends = tarmakedepends = xz+ makedepends = clang+ makedepends = llvm+ makedepends = lld+ makedepends = python+ depends = clang+ depends = llvm+ depends = lld+ depends = pythonoptions = !stripsource = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.15.7.tar.xzsource = config- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-bore-sched.patch+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/bore/0001-bore-sched.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-arch-patches.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-cfi.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-page-table-check.patch@@ -44,7 +52,6 @@ pkgbase = linux-cachyos-boresource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-futex-wait.v-fsync-winesync.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-hwmon-patches.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-ksmbd-patches.patch- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-damon.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-pf-patches.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-lqx-patches.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-lrng-patches.patch@@ -57,7 +64,7 @@ pkgbase = linux-cachyos-boresource = auto-cpu-optimization.shmd5sums = b79700122766ccf561f032eb3c8da27emd5sums = d97e86d9464dd34683f67de4d4a595c0- md5sums = 468f2a4ac2e33046b7d54a33e66e4e59+ md5sums = 22552abc3fe996c2e89980e13e5583a3md5sums = 2627c6fcd9760b0e7a3553500db0a7e1md5sums = e3fa8507aed6ef3ce37e62f18fe9b7e1md5sums = 152706f6ebbe9917c6a5955cd5447344@@ -80,7 +87,6 @@ pkgbase = linux-cachyos-boremd5sums = 8c354c3d1962ec6785db7f0c3fbbab03md5sums = 9b6369bc4c58ad0d9195b5c204ed4b8amd5sums = c6efda5716e4ff79ebdbc963bebd851a- md5sums = 408dfabb34f2b79aa2f5044b052703dbmd5sums = 08c84362cb916b30d9c77e35b1b3bc54md5sums = 56fdf3562b041c0408d9751b7e447977md5sums = b09b84168822521426f197610727618b@@ -92,7 +98,7 @@ pkgbase = linux-cachyos-boremd5sums = 507e61367296d14b88ac38a4aee03cdfmd5sums = 21c98f19e883879dd3336c1fa143fd31-pkgname = linux-cachyos-bore+pkgname = linux-cachyos-bore-ltopkgdesc = The Linux BORE scheduler Kernel by CachyOS and with some other patches and other improvements kernel and modulesdepends = coreutilsdepends = kmod@@ -103,7 +109,7 @@ pkgname = linux-cachyos-boreprovides = VIRTUALBOX-GUEST-MODULESprovides = WIREGUARD-MODULE-pkgname = linux-cachyos-bore-headers+pkgname = linux-cachyos-bore-lto-headerspkgdesc = Headers and scripts for building modules for the Linux BORE scheduler Kernel by CachyOS and with some other patches and other improvements- depends = linux-cachyos-bore=5.15.7+ depends = linux-cachyos-bore-lto=5.15.7depends = paholediff --git a/linux-cachyos-bore/PKGBUILD b/linux-cachyos-bore/PKGBUILDindex c24a9232..a965aa2f 100644--- a/linux-cachyos-bore/PKGBUILD+++ b/linux-cachyos-bore/PKGBUILD@@ -148,8 +148,7 @@ _patchsource="https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.source=("https://cdn.kernel.org/pub/linux/kernel/v${pkgver%%.*}.x/${_srcname}.tar.xz""config"- "${_patchsource}/0001-stable-rc.patch"- "0001-cacule-bore-sched.patch"+ "${_patchsource}/bore/0001-bore-sched.patch""${_patchsource}/0001-arch-patches.patch""${_patchsource}/0001-cfi.patch""${_patchsource}/0001-page-table-check.patch"@@ -172,7 +171,7 @@ source=("${_patchsource}/0001-futex-wait.v-fsync-winesync.patch""${_patchsource}/0001-hwmon-patches.patch""${_patchsource}/0001-ksmbd-patches.patch"- "${_patchsource}/0001-damon-patches.patch"+# "${_patchsource}/0001-damon-patches.patch""${_patchsource}/0001-pf-patches.patch""${_patchsource}/0001-lqx-patches.patch""${_patchsource}/0001-lrng-patches.patch"@@ -665,7 +664,7 @@ donemd5sums=('b79700122766ccf561f032eb3c8da27e''d97e86d9464dd34683f67de4d4a595c0'- '468f2a4ac2e33046b7d54a33e66e4e59'+ '22552abc3fe996c2e89980e13e5583a3''2627c6fcd9760b0e7a3553500db0a7e1''e3fa8507aed6ef3ce37e62f18fe9b7e1''152706f6ebbe9917c6a5955cd5447344'@@ -688,7 +687,6 @@ md5sums=('b79700122766ccf561f032eb3c8da27e''8c354c3d1962ec6785db7f0c3fbbab03''9b6369bc4c58ad0d9195b5c204ed4b8a''c6efda5716e4ff79ebdbc963bebd851a'- '408dfabb34f2b79aa2f5044b052703db''08c84362cb916b30d9c77e35b1b3bc54''56fdf3562b041c0408d9751b7e447977''b09b84168822521426f197610727618b'diff --git a/linux-cachyos-cacule/.SRCINFO b/linux-cachyos-cacule/.SRCINFOindex 93453488..0aaa50a1 100644--- a/linux-cachyos-cacule/.SRCINFO+++ b/linux-cachyos-cacule/.SRCINFO@@ -1,7 +1,7 @@pkgbase = linux-cachyos-caculepkgdesc = Linux CacULE scheduler Kernel by CachyOS and with some other patches and other improvementspkgver = 5.15.7- pkgrel = 2+ pkgrel = 3url = https://github.com/CachyOS/linux-cachyosarch = x86_64arch = x86_64_v3@@ -27,6 +27,7 @@ pkgbase = linux-cachyos-caculesource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-lru-patches.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/AMD/0001-amd-pstate-dev-v5-fixes.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/AMD/0001-amd64-patches.patch+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-page-table-check.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-bbr2.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-bitmap.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-block-patches.patch@@ -36,11 +37,11 @@ pkgbase = linux-cachyos-caculesource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-clearlinux-patches.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-intel-patches.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-ntfs3.patch+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-ck-hrtimer.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-fixes-miscellaneous.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-futex-wait.v-fsync-winesync.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-hwmon-patches.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-ksmbd-patches.patch- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-damon.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-pf-patches.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-lqx-patches.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-lrng-patches.patch@@ -59,6 +60,7 @@ pkgbase = linux-cachyos-caculemd5sums = 4bfca774a71e7228f5b8bb31660521afmd5sums = 4866d66f4cc1b10cccb520c22cbc71d7md5sums = 53f037488a66667220c263f92ded333d+ md5sums = 152706f6ebbe9917c6a5955cd5447344md5sums = 2a8097ba46be56fbbe3967e9c34c9a0bmd5sums = e708f2160dee1ef5c7dffb8a23c199d7md5sums = 56ceaed8bfb44eca93298ccc5fe11ca7@@ -68,11 +70,11 @@ pkgbase = linux-cachyos-caculemd5sums = 41887f2f959068e41756f4c39671ca79md5sums = b04c8a3f01b3dfba1410e2c26ec7d975md5sums = 8cf507777e20cd4d75a0627eef10c10d+ md5sums = 6038177c72982533035309fcd6df208amd5sums = 2a13aa40945c9910f7ad20a429442793md5sums = 8c354c3d1962ec6785db7f0c3fbbab03md5sums = 9b6369bc4c58ad0d9195b5c204ed4b8amd5sums = c6efda5716e4ff79ebdbc963bebd851a- md5sums = 408dfabb34f2b79aa2f5044b052703dbmd5sums = 08c84362cb916b30d9c77e35b1b3bc54md5sums = 56fdf3562b041c0408d9751b7e447977md5sums = b09b84168822521426f197610727618bdiff --git a/linux-cachyos-cacule/PKGBUILD b/linux-cachyos-cacule/PKGBUILDindex b8dea239..8b749f87 100644--- a/linux-cachyos-cacule/PKGBUILD+++ b/linux-cachyos-cacule/PKGBUILD@@ -52,7 +52,6 @@ _fsync=y_winesync=y### Running with a 2000 HZ, 1000HZ, 750Hz or 500HZ tick rate-_2k_HZ_ticks=_1k_HZ_ticks=_750_HZ_ticks=y_600_HZ_ticks=@@ -76,6 +75,8 @@ _lrng_enable=y### Enable DAMON_damon=+_use_page_check=y+## Apply Kernel automatic Optimization_use_auto_optimization=y@@ -135,7 +136,7 @@ _srcname=linux-${pkgver}arch=(x86_64 x86_64_v3)pkgdesc='Linux CacULE scheduler Kernel by CachyOS and with some other patches and other improvements'_srcname=linux-${pkgver}-pkgrel=2+pkgrel=3arch=('x86_64' 'x86_64_v3')url="https://github.com/CachyOS/linux-cachyos"license=('GPL2')@@ -159,6 +160,7 @@ source=("${_patchsource}/0001-lru-patches.patch""${_patchsource}/AMD/0001-amd-pstate-dev-v5-fixes.patch""${_patchsource}/AMD/0001-amd64-patches.patch"+ "${_patchsource}/0001-page-table-check.patch""${_patchsource}/0001-bbr2.patch""${_patchsource}/0001-bitmap.patch""${_patchsource}/0001-block-patches.patch"@@ -173,7 +175,7 @@ source=("${_patchsource}/0001-futex-wait.v-fsync-winesync.patch""${_patchsource}/0001-hwmon-patches.patch""${_patchsource}/0001-ksmbd-patches.patch"- "${_patchsource}/0001-damon.patch"+# "${_patchsource}/0001-damon-patches.patch""${_patchsource}/0001-pf-patches.patch""${_patchsource}/0001-lqx-patches.patch""${_patchsource}/0001-lrng-patches.patch"@@ -242,186 +244,184 @@ prepare() {fifi- if [ -n "$_use_cfi" ] && [ -n "$_use_llvm_lto" ]; then- scripts/config --enable CONFIG_ARCH_SUPPORTS_CFI_CLANG- scripts/config --enable CONFIG_CFI_CLANG- fi-- if [ -n "$_use_pgo" ]; then- scripts/config --enable CONFIG_ARCH_SUPPORTS_PGO_CLANG- scripts/config --enable DEBUG_FS- scripts/config --enable CONFIG_PGO_CLANG- fi-- ### Microarchitecture Optimization (GCC/CLANG)- if [ -n "$_use_auto_optimization" ]; then- "${srcdir}"/auto-cpu-optimization.sh- fi--- if [ -n "$_use_optimization_select" ]; then- source "${startdir}"/configure- cpu_arch- fi--- ### Optionally set tickrate to 2000HZ- if [ -n "$_2k_HZ_ticks" ]; then- echo "Setting tick rate to 2k..."- scripts/config --disable CONFIG_HZ_300- scripts/config --enable CONFIG_HZ_2000- scripts/config --set-val CONFIG_HZ 2000- fi-- ### Optionally set tickrate to 1000- if [ -n "$_1k_HZ_ticks" ]; then- echo "Setting tick rate to 1k..."- scripts/config --disable CONFIG_HZ_300- scripts/config --enable CONFIG_HZ_1000- scripts/config --set-val CONFIG_HZ 1000- fi-- ### Optionally set tickrate to 750HZ- if [ -n "$_750_HZ_ticks" ]; then- echo "Setting tick rate to 750HZ..."- scripts/config --disable CONFIG_HZ_300- scripts/config --enable CONFIG_HZ_750- scripts/config --set-val CONFIG_HZ 750- fi-- ### Optionally set tickrate to 600HZ- if [ -n "$_600_HZ_ticks" ]; then- echo "Setting tick rate to 600HZ..."- scripts/config --disable CONFIG_HZ_300- scripts/config --enable CONFIG_HZ_600- scripts/config --set-val CONFIG_HZ 600- fi-- ### Optionally set tickrate to 500HZ- if [ -n "$_500_HZ_ticks" ]; then- echo "Setting tick rate to 500HZ..."- scripts/config --disable CONFIG_HZ_300- scripts/config --enable CONFIG_HZ_500- scripts/config --set-val CONFIG_HZ 500- fi-- ### Optionally disable NUMA for 64-bit kernels only- # (x86 kernels do not support NUMA)- if [ -n "$_NUMAdisable" ]; then- echo "Disabling NUMA from kernel config..."- scripts/config --disable CONFIG_NUMA- fi-- if [ -n "$_fsync" ]; then- echo "Enable Fsync support"- scripts/config --enable CONFIG_FUTEX- scripts/config --enable CONFIG_FUTEX_PI- fi--- if [ -n "$_winesync" ]; then- echo "Enable winesync support"- scripts/config --module CONFIG_WINESYNC- fi-- ### Disable MQ-Deadline I/O scheduler- if [ -n "$_mq_deadline_disable" ]; then- echo "Disabling MQ-Deadline I/O scheduler..."- scripts/config --disable CONFIG_MQ_IOSCHED_DEADLINE- fi-- ### Disable Kyber I/O scheduler- if [ -n "$_kyber_disable" ]; then- echo "Disabling Kyber I/O scheduler..."- scripts/config --disable CONFIG_MQ_IOSCHED_KYBER- fi--- ### Enable protect mappings under memory pressure- if [ -n "$_mm_protect" ]; then- echo "Enabling protect file mappings under memory pressure..."- scripts/config --enable CONFIG_UNEVICTABLE_FILE- scripts/config --set-val CONFIG_UNEVICTABLE_FILE_KBYTES_LOW 0- scripts/config --set-val CONFIG_UNEVICTABLE_FILE_KBYTES_MIN 0- echo "Enabling protect anonymous mappings under memory pressure..."- scripts/config --enable CONFIG_UNEVICTABLE_ANON- scripts/config --set-val CONFIG_UNEVICTABLE_ANON_KBYTES_LOW 0- scripts/config --set-val CONFIG_UNEVICTABLE_ANON_KBYTES_MIN 0- fi-- ### Enable multigenerational LRU- if [ -n "$_lru_enable" ]; then- echo "Enabling multigenerational LRU..."- scripts/config --enable CONFIG_ARCH_HAS_NONLEAF_PMD_YOUNG- scripts/config --enable CONFIG_LRU_GEN- scripts/config --set-val CONFIG_NR_LRU_GENS 7- scripts/config --set-val CONFIG_TIERS_PER_GEN 4- scripts/config --enable CONFIG_LRU_GEN_ENABLED- scripts/config --disable CONFIG_LRU_GEN_STATS- fi-- ### Enable DAMON- if [ -n "$_damon" ]; then- echo "Enabling DAMON..."- scripts/config --enable CONFIG_DAMON- scripts/config --disable CONFIG_DAMON_VADDR- scripts/config --disable CONFIG_DAMON_DBGFS- scripts/config --enable CONFIG_DAMON_PADDR- scripts/config --enable CONFIG_DAMON_RECLAIM- fi-- ### Enable Linux Random Number Generator- if [ -n "$_lrng_enable" ]; then- echo "Enabling Linux Random Number Generator ..."- echo "Enabling Linux Random Number Generator with pfkernel config..."- scripts/config --enable CONFIG_LRNG- scripts/config --enable CONFIG_LRNG_OVERSAMPLE_ENTROPY_SOURCES- scripts/config --set-val CONFIG_CONFIG_LRNG_OVERSAMPLE_ES_BITS 64- scripts/config --set-val CONFIG_LRNG_SEED_BUFFER_INIT_ADD_BITS 128- scripts/config --enable CONFIG_LRNG_IRQ- scripts/config --enable CONFIG_LRNG_CONTINUOUS_COMPRESSION_ENABLED- scripts/config --disable CONFIG_LRNG_CONTINUOUS_COMPRESSION_DISABLED- scripts/config --enable CONFIG_LRNG_ENABLE_CONTINUOUS_COMPRESSION- scripts/config --enable CONFIG_LRNG_SWITCHABLE_CONTINUOUS_COMPRESSION- scripts/config --disable CONFIG_LRNG_COLLECTION_SIZE_512- scripts/config --enable CONFIG_LRNG_COLLECTION_SIZE_1024- scripts/config --disable CONFIG_LRNG_COLLECTION_SIZE_2048- scripts/config --disable CONFIG_LRNG_COLLECTION_SIZE_4096- scripts/config --disable CONFIG_LRNG_COLLECTION_SIZE_8192- scripts/config --set-val CONFIG_LRNG_COLLECTION_SIZE 1024- scripts/config --enable CONFIG_LRNG_HEALTH_TESTS- scripts/config --set-val CONFIG_LRNG_RCT_CUTOFF 31- scripts/config --set-val CONFIG_LRNG_APT_CUTOFF 325- scripts/config --set-val CONFIG_LRNG_IRQ_ENTROPY_RATE 256- scripts/config --enable CONFIG_LRNG_JENT- scripts/config --set-val CONFIG_LRNG_JENT_ENTROPY_RATE 16- scripts/config --enable CONFIG_LRNG_CPU- scripts/config --set-val CONFIG_LRNG_CPU_ENTROPY_RATE 8- scripts/config --enable CONFIG_LRNG_DRNG_SWITCH- scripts/config --enable CONFIG_LRNG_KCAPI_HASH- scripts/config --module CONFIG_LRNG_DRBG- scripts/config --module CONFIG_LRNG_KCAPI- scripts/config --enable CONFIG_LRNG_TESTING_MENU- scripts/config --disable CONFIG_LRNG_RAW_HIRES_ENTROPY- scripts/config --disable CONFIG_LRNG_RAW_JIFFIES_ENTROPY- scripts/config --disable CONFIG_LRNG_RAW_IRQ_ENTROPY- scripts/config --disable CONFIG_LRNG_RAW_IRQFLAGS_ENTROPY- scripts/config --disable CONFIG_LRNG_RAW_RETIP_ENTROPY- scripts/config --disable CONFIG_LRNG_RAW_REGS_ENTROPY- scripts/config --disable CONFIG_LRNG_RAW_ARRAY- scripts/config --disable CONFIG_LRNG_IRQ_PERF- scripts/config --disable CONFIG_LRNG_ACVT_HASH- scripts/config --enable CONFIG_LRNG_RUNTIME_ES_CONFIG- scripts/config --disable CONFIG_LRNG_RUNTIME_MAX_WO_RESEED_CONFIG- scripts/config --disable CONFIG_LRNG_TEST_CPU_ES_COMPRESSION- scripts/config --enable CONFIG_LRNG_SELFTEST- scripts/config --disable CONFIG_LRNG_SELFTEST_PANIC- fi-- echo "Enable LLVM LTO"- if [ -n "$_use_llvm_lto" ]; then- scripts/config --disable CONFIG_LTO_NONE- fi+ if [ -n "$_use_cfi" ] && [ -n "$_use_llvm_lto" ]; then+ scripts/config --enable CONFIG_ARCH_SUPPORTS_CFI_CLANG+ scripts/config --enable CONFIG_CFI_CLANG+ fi++ if [ -n "$_use_pgo" ]; then+ scripts/config --enable CONFIG_ARCH_SUPPORTS_PGO_CLANG+ scripts/config --enable DEBUG_FS+ scripts/config --enable CONFIG_PGO_CLANG+ fi++ ### Microarchitecture Optimization (GCC/CLANG)+ if [ -n "$_use_auto_optimization" ]; then+ "${srcdir}"/auto-cpu-optimization.sh+ fi+++ if [ -n "$_use_optimization_select" ]; then+ source "${startdir}"/configure+ cpu_arch+ fi++ ### Optionally set tickrate to 1000+ if [ -n "$_1k_HZ_ticks" ]; then+ echo "Setting tick rate to 1k..."+ scripts/config --disable CONFIG_HZ_300+ scripts/config --enable CONFIG_HZ_1000+ scripts/config --set-val CONFIG_HZ 1000+ fi++ ### Optionally set tickrate to 750HZ+ if [ -n "$_750_HZ_ticks" ]; then+ echo "Setting tick rate to 750HZ..."+ scripts/config --disable CONFIG_HZ_300+ scripts/config --enable CONFIG_HZ_750+ scripts/config --set-val CONFIG_HZ 750+ fi++ ### Optionally set tickrate to 600HZ+ if [ -n "$_600_HZ_ticks" ]; then+ echo "Setting tick rate to 600HZ..."+ scripts/config --disable CONFIG_HZ_300+ scripts/config --enable CONFIG_HZ_600+ scripts/config --set-val CONFIG_HZ 600+ fi++ ### Optionally set tickrate to 500HZ+ if [ -n "$_500_HZ_ticks" ]; then+ echo "Setting tick rate to 500HZ..."+ scripts/config --disable CONFIG_HZ_300+ scripts/config --enable CONFIG_HZ_500+ scripts/config --set-val CONFIG_HZ 500+ fi++ ### Optionally disable NUMA for 64-bit kernels only+ # (x86 kernels do not support NUMA)+ if [ -n "$_NUMAdisable" ]; then+ echo "Disabling NUMA from kernel config..."+ scripts/config --disable CONFIG_NUMA+ fi++ if [ -n "$_fsync" ]; then+ echo "Enable Fsync support"+ scripts/config --enable CONFIG_FUTEX+ scripts/config --enable CONFIG_FUTEX_PI+ fi+++ if [ -n "$_winesync" ]; then+ echo "Enable winesync support"+ scripts/config --module CONFIG_WINESYNC+ fi++ ### Disable MQ-Deadline I/O scheduler+ if [ -n "$_mq_deadline_disable" ]; then+ echo "Disabling MQ-Deadline I/O scheduler..."+ scripts/config --disable CONFIG_MQ_IOSCHED_DEADLINE+ fi++ ### Disable Kyber I/O scheduler+ if [ -n "$_kyber_disable" ]; then+ echo "Disabling Kyber I/O scheduler..."+ scripts/config --disable CONFIG_MQ_IOSCHED_KYBER+ fi+++ ### Enable protect mappings under memory pressure+ if [ -n "$_mm_protect" ]; then+ echo "Enabling protect file mappings under memory pressure..."+ scripts/config --enable CONFIG_UNEVICTABLE_FILE+ scripts/config --set-val CONFIG_UNEVICTABLE_FILE_KBYTES_LOW 0+ scripts/config --set-val CONFIG_UNEVICTABLE_FILE_KBYTES_MIN 0+ echo "Enabling protect anonymous mappings under memory pressure..."+ scripts/config --enable CONFIG_UNEVICTABLE_ANON+ scripts/config --set-val CONFIG_UNEVICTABLE_ANON_KBYTES_LOW 0+ scripts/config --set-val CONFIG_UNEVICTABLE_ANON_KBYTES_MIN 0+ fi++ ### Enable multigenerational LRU+ if [ -n "$_lru_enable" ]; then+ echo "Enabling multigenerational LRU..."+ scripts/config --enable CONFIG_ARCH_HAS_NONLEAF_PMD_YOUNG+ scripts/config --enable CONFIG_LRU_GEN+ scripts/config --set-val CONFIG_NR_LRU_GENS 7+ scripts/config --set-val CONFIG_TIERS_PER_GEN 4+ scripts/config --enable CONFIG_LRU_GEN_ENABLED+ scripts/config --disable CONFIG_LRU_GEN_STATS+ fi++ ### Enable DAMON+ if [ -n "$_damon" ]; then+ echo "Enabling DAMON..."+ scripts/config --enable CONFIG_DAMON+ scripts/config --disable CONFIG_DAMON_VADDR+ scripts/config --disable CONFIG_DAMON_DBGFS+ scripts/config --enable CONFIG_DAMON_PADDR+ scripts/config --enable CONFIG_DAMON_RECLAIM+ fi++ ### Enable Linux Random Number Generator+ if [ -n "$_lrng_enable" ]; then+ echo "Enabling Linux Random Number Generator ..."+ echo "Enabling Linux Random Number Generator with pfkernel config..."+ scripts/config --enable CONFIG_LRNG+ scripts/config --enable CONFIG_LRNG_OVERSAMPLE_ENTROPY_SOURCES+ scripts/config --set-val CONFIG_CONFIG_LRNG_OVERSAMPLE_ES_BITS 64+ scripts/config --set-val CONFIG_LRNG_SEED_BUFFER_INIT_ADD_BITS 128+ scripts/config --enable CONFIG_LRNG_IRQ+ scripts/config --enable CONFIG_LRNG_CONTINUOUS_COMPRESSION_ENABLED+ scripts/config --disable CONFIG_LRNG_CONTINUOUS_COMPRESSION_DISABLED+ scripts/config --enable CONFIG_LRNG_ENABLE_CONTINUOUS_COMPRESSION+ scripts/config --enable CONFIG_LRNG_SWITCHABLE_CONTINUOUS_COMPRESSION+ scripts/config --disable CONFIG_LRNG_COLLECTION_SIZE_512+ scripts/config --enable CONFIG_LRNG_COLLECTION_SIZE_1024+ scripts/config --disable CONFIG_LRNG_COLLECTION_SIZE_2048+ scripts/config --disable CONFIG_LRNG_COLLECTION_SIZE_4096+ scripts/config --disable CONFIG_LRNG_COLLECTION_SIZE_8192+ scripts/config --set-val CONFIG_LRNG_COLLECTION_SIZE 1024+ scripts/config --enable CONFIG_LRNG_HEALTH_TESTS+ scripts/config --set-val CONFIG_LRNG_RCT_CUTOFF 31+ scripts/config --set-val CONFIG_LRNG_APT_CUTOFF 325+ scripts/config --set-val CONFIG_LRNG_IRQ_ENTROPY_RATE 256+ scripts/config --enable CONFIG_LRNG_JENT+ scripts/config --set-val CONFIG_LRNG_JENT_ENTROPY_RATE 16+ scripts/config --enable CONFIG_LRNG_CPU+ scripts/config --set-val CONFIG_LRNG_CPU_ENTROPY_RATE 8+ scripts/config --enable CONFIG_LRNG_DRNG_SWITCH+ scripts/config --enable CONFIG_LRNG_KCAPI_HASH+ scripts/config --module CONFIG_LRNG_DRBG+ scripts/config --module CONFIG_LRNG_KCAPI+ scripts/config --enable CONFIG_LRNG_TESTING_MENU+ scripts/config --disable CONFIG_LRNG_RAW_HIRES_ENTROPY+ scripts/config --disable CONFIG_LRNG_RAW_JIFFIES_ENTROPY+ scripts/config --disable CONFIG_LRNG_RAW_IRQ_ENTROPY+ scripts/config --disable CONFIG_LRNG_RAW_IRQFLAGS_ENTROPY+ scripts/config --disable CONFIG_LRNG_RAW_RETIP_ENTROPY+ scripts/config --disable CONFIG_LRNG_RAW_REGS_ENTROPY+ scripts/config --disable CONFIG_LRNG_RAW_ARRAY+ scripts/config --disable CONFIG_LRNG_IRQ_PERF+ scripts/config --disable CONFIG_LRNG_ACVT_HASH+ scripts/config --enable CONFIG_LRNG_RUNTIME_ES_CONFIG+ scripts/config --disable CONFIG_LRNG_RUNTIME_MAX_WO_RESEED_CONFIG+ scripts/config --disable CONFIG_LRNG_TEST_CPU_ES_COMPRESSION+ scripts/config --enable CONFIG_LRNG_SELFTEST+ scripts/config --disable CONFIG_LRNG_SELFTEST_PANIC+ fi++ echo "Enable LLVM LTO"+ if [ -n "$_use_llvm_lto" ]; then+ scripts/config --disable CONFIG_LTO_NONE+ fi++ if [ -n "$_use_page_check" ]; then+ echo "Enable Page Table Check"+ scripts/config --enable ARCH_SUPPORTS_PAGE_TABLE_CHECK+ scripts/config --enable CONFIG_PAGE_TABLE_CHECK+ scripts/config --enable CONFIG_PAGE_TABLE_CHECK_ENFORCED+ fi### Selecting the ZSTD compression levelif [ "$_zstd_level" = "ultra" ]; then@@ -675,6 +675,7 @@ md5sums=('b79700122766ccf561f032eb3c8da27e''4bfca774a71e7228f5b8bb31660521af''4866d66f4cc1b10cccb520c22cbc71d7''53f037488a66667220c263f92ded333d'+ '152706f6ebbe9917c6a5955cd5447344''2a8097ba46be56fbbe3967e9c34c9a0b''e708f2160dee1ef5c7dffb8a23c199d7''56ceaed8bfb44eca93298ccc5fe11ca7'@@ -684,11 +685,11 @@ md5sums=('b79700122766ccf561f032eb3c8da27e''41887f2f959068e41756f4c39671ca79''b04c8a3f01b3dfba1410e2c26ec7d975''8cf507777e20cd4d75a0627eef10c10d'+ '6038177c72982533035309fcd6df208a''2a13aa40945c9910f7ad20a429442793''8c354c3d1962ec6785db7f0c3fbbab03''9b6369bc4c58ad0d9195b5c204ed4b8a''c6efda5716e4ff79ebdbc963bebd851a'- '408dfabb34f2b79aa2f5044b052703db''08c84362cb916b30d9c77e35b1b3bc54''56fdf3562b041c0408d9751b7e447977''b09b84168822521426f197610727618b'diff --git a/linux-cachyos-pds/.SRCINFO b/linux-cachyos-pds/.SRCINFOindex 2b7c4f41..6954fa98 100644--- a/linux-cachyos-pds/.SRCINFO+++ b/linux-cachyos-pds/.SRCINFO@@ -1,7 +1,7 @@pkgbase = linux-cachyos-pdspkgdesc = Linux pds scheduler Kernel by CachyOS and with some other patches and other improvementspkgver = 5.15.7- pkgrel = 2+ pkgrel = 3url = https://github.com/CachyOS/linux-cachyosarch = x86_64arch = x86_64_v3@@ -24,6 +24,7 @@ pkgbase = linux-cachyos-pdssource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-prjc.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-arch-patches.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-cfi.patch+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-page-table-check.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-lru-patches.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/AMD/0001-amd-pstate-dev-v5-fixes.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/AMD/0001-amd64-patches.patch@@ -40,7 +41,6 @@ pkgbase = linux-cachyos-pdssource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-futex-wait.v-fsync-winesync.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-hwmon-patches.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-ksmbd-patches.patch- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-damon.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-pf-patches.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-lqx-patches.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-lrng-patches.patch@@ -56,6 +56,7 @@ pkgbase = linux-cachyos-pdsmd5sums = 25fe602949e5b92d08df96e55e418d7amd5sums = 2627c6fcd9760b0e7a3553500db0a7e1md5sums = e3fa8507aed6ef3ce37e62f18fe9b7e1+ md5sums = 152706f6ebbe9917c6a5955cd5447344md5sums = 4bfca774a71e7228f5b8bb31660521afmd5sums = 4866d66f4cc1b10cccb520c22cbc71d7md5sums = 53f037488a66667220c263f92ded333d@@ -72,7 +73,6 @@ pkgbase = linux-cachyos-pdsmd5sums = 8c354c3d1962ec6785db7f0c3fbbab03md5sums = 9b6369bc4c58ad0d9195b5c204ed4b8amd5sums = c6efda5716e4ff79ebdbc963bebd851a- md5sums = 408dfabb34f2b79aa2f5044b052703dbmd5sums = 08c84362cb916b30d9c77e35b1b3bc54md5sums = 56fdf3562b041c0408d9751b7e447977md5sums = b09b84168822521426f197610727618bdiff --git a/linux-cachyos-pds/PKGBUILD b/linux-cachyos-pds/PKGBUILDindex 1c15d12c..f3d7b479 100644--- a/linux-cachyos-pds/PKGBUILD+++ b/linux-cachyos-pds/PKGBUILD@@ -79,6 +79,8 @@ _use_optimization_select=### Enable DAMON_damon=+_use_page_check=y+### Selecting the ZSTD compression level# ATTENTION - one of two predefined values should be selected!# 'ultra' - highest compression ratio@@ -127,7 +129,7 @@ _srcname=linux-${pkgver}arch=(x86_64 x86_64_v3)pkgdesc='Linux pds scheduler Kernel by CachyOS and with some other patches and other improvements'_srcname=linux-${pkgver}-pkgrel=2+pkgrel=3arch=('x86_64' 'x86_64_v3')url="https://github.com/CachyOS/linux-cachyos"license=('GPL2')@@ -146,6 +148,7 @@ source=("https://cdn.kernel.org/pub/linux/kernel/v${pkgver%%.*}.x/${_srcname}.ta"${_patchsource}/0001-prjc.patch""${_patchsource}/0001-arch-patches.patch""${_patchsource}/0001-cfi.patch"+ "${_patchsource}/0001-page-table-check.patch""${_patchsource}/0001-lru-patches.patch""${_patchsource}/AMD/0001-amd-pstate-dev-v5-fixes.patch""${_patchsource}/AMD/0001-amd64-patches.patch"@@ -158,12 +161,12 @@ source=("https://cdn.kernel.org/pub/linux/kernel/v${pkgver%%.*}.x/${_srcname}.ta"${_patchsource}/0001-clearlinux-patches.patch""${_patchsource}/0001-intel-patches.patch""${_patchsource}/0001-ntfs3.patch"-# "${_patchsource}/0001-ck-hrtimer.patch"+ # "${_patchsource}/0001-ck-hrtimer.patch""${_patchsource}/0001-fixes-miscellaneous.patch""${_patchsource}/0001-futex-wait.v-fsync-winesync.patch""${_patchsource}/0001-hwmon-patches.patch""${_patchsource}/0001-ksmbd-patches.patch"- "${_patchsource}/0001-damon.patch"+# "${_patchsource}/0001-damon.patch""${_patchsource}/0001-pf-patches.patch""${_patchsource}/0001-lqx-patches.patch""${_patchsource}/0001-lrng-patches.patch"@@ -256,185 +259,183 @@ prepare() {fiif [ -n "$_use_cfi" ] && [ -n "$_use_llvm_lto" ]; then- scripts/config --enable CONFIG_ARCH_SUPPORTS_CFI_CLANG- scripts/config --enable CONFIG_CFI_CLANG- fi+ scripts/config --enable CONFIG_ARCH_SUPPORTS_CFI_CLANG+ scripts/config --enable CONFIG_CFI_CLANG+ fi- if [ -n "$_use_pgo" ]; then- scripts/config --enable CONFIG_ARCH_SUPPORTS_PGO_CLANG- scripts/config --enable DEBUG_FS- scripts/config --enable CONFIG_PGO_CLANG- fi+ if [ -n "$_use_pgo" ]; then+ scripts/config --enable CONFIG_ARCH_SUPPORTS_PGO_CLANG+ scripts/config --enable DEBUG_FS+ scripts/config --enable CONFIG_PGO_CLANG+ fi- ### Microarchitecture Optimization (GCC/CLANG)- if [ -n "$_use_auto_optimization" ]; then- "${srcdir}"/auto-cpu-optimization.sh- fi+ ### Microarchitecture Optimization (GCC/CLANG)+ if [ -n "$_use_auto_optimization" ]; then+ "${srcdir}"/auto-cpu-optimization.sh+ fi- if [ -n "$_use_optimization_select" ]; then- source "${startdir}"/configure- cpu_arch- fi+ if [ -n "$_use_optimization_select" ]; then+ source "${startdir}"/configure+ cpu_arch+ fi+ ### Optionally set tickrate to 1000+ if [ -n "$_1k_HZ_ticks" ]; then+ echo "Setting tick rate to 1k..."+ scripts/config --disable CONFIG_HZ_300+ scripts/config --enable CONFIG_HZ_1000+ scripts/config --set-val CONFIG_HZ 1000+ fi- ### Optionally set tickrate to 2000HZ- if [ -n "$_2k_HZ_ticks" ]; then- echo "Setting tick rate to 2k..."- scripts/config --disable CONFIG_HZ_300- scripts/config --enable CONFIG_HZ_2000- scripts/config --set-val CONFIG_HZ 2000- fi+ ### Optionally set tickrate to 750HZ+ if [ -n "$_750_HZ_ticks" ]; then+ echo "Setting tick rate to 750HZ..."+ scripts/config --disable CONFIG_HZ_300+ scripts/config --enable CONFIG_HZ_750+ scripts/config --set-val CONFIG_HZ 750+ fi- ### Optionally set tickrate to 1000- if [ -n "$_1k_HZ_ticks" ]; then- echo "Setting tick rate to 1k..."- scripts/config --disable CONFIG_HZ_300- scripts/config --enable CONFIG_HZ_1000- scripts/config --set-val CONFIG_HZ 1000- fi+ ### Optionally set tickrate to 600HZ+ if [ -n "$_600_HZ_ticks" ]; then+ echo "Setting tick rate to 600HZ..."+ scripts/config --disable CONFIG_HZ_300+ scripts/config --enable CONFIG_HZ_600+ scripts/config --set-val CONFIG_HZ 600+ fi- ### Optionally set tickrate to 750HZ- if [ -n "$_750_HZ_ticks" ]; then- echo "Setting tick rate to 750HZ..."- scripts/config --disable CONFIG_HZ_300- scripts/config --enable CONFIG_HZ_750- scripts/config --set-val CONFIG_HZ 750- fi+ ### Optionally set tickrate to 500HZ+ if [ -n "$_500_HZ_ticks" ]; then+ echo "Setting tick rate to 500HZ..."+ scripts/config --disable CONFIG_HZ_300+ scripts/config --enable CONFIG_HZ_500+ scripts/config --set-val CONFIG_HZ 500+ fi- ### Optionally set tickrate to 600HZ- if [ -n "$_600_HZ_ticks" ]; then- echo "Setting tick rate to 600HZ..."- scripts/config --disable CONFIG_HZ_300- scripts/config --enable CONFIG_HZ_600- scripts/config --set-val CONFIG_HZ 600- fi+ ### Optionally disable NUMA for 64-bit kernels only+ # (x86 kernels do not support NUMA)+ if [ -n "$_NUMAdisable" ]; then+ echo "Disabling NUMA from kernel config..."+ scripts/config --disable CONFIG_NUMA+ fi- ### Optionally set tickrate to 500HZ- if [ -n "$_500_HZ_ticks" ]; then- echo "Setting tick rate to 500HZ..."- scripts/config --disable CONFIG_HZ_300- scripts/config --enable CONFIG_HZ_500- scripts/config --set-val CONFIG_HZ 500- fi+ if [ -n "$_fsync" ]; then+ echo "Enable Fsync support"+ scripts/config --enable CONFIG_FUTEX+ scripts/config --enable CONFIG_FUTEX_PI+ fi- ### Optionally disable NUMA for 64-bit kernels only- # (x86 kernels do not support NUMA)- if [ -n "$_NUMAdisable" ]; then- echo "Disabling NUMA from kernel config..."- scripts/config --disable CONFIG_NUMA- fi- if [ -n "$_fsync" ]; then- echo "Enable Fsync support"- scripts/config --enable CONFIG_FUTEX- scripts/config --enable CONFIG_FUTEX_PI- fi+ if [ -n "$_winesync" ]; then+ echo "Enable winesync support"+ scripts/config --module CONFIG_WINESYNC+ fi+ ### Disable MQ-Deadline I/O scheduler+ if [ -n "$_mq_deadline_disable" ]; then+ echo "Disabling MQ-Deadline I/O scheduler..."+ scripts/config --disable CONFIG_MQ_IOSCHED_DEADLINE+ fi- if [ -n "$_winesync" ]; then- echo "Enable winesync support"- scripts/config --module CONFIG_WINESYNC- fi+ ### Disable Kyber I/O scheduler+ if [ -n "$_kyber_disable" ]; then+ echo "Disabling Kyber I/O scheduler..."+ scripts/config --disable CONFIG_MQ_IOSCHED_KYBER+ fi- ### Disable MQ-Deadline I/O scheduler- if [ -n "$_mq_deadline_disable" ]; then- echo "Disabling MQ-Deadline I/O scheduler..."- scripts/config --disable CONFIG_MQ_IOSCHED_DEADLINE- fi- ### Disable Kyber I/O scheduler- if [ -n "$_kyber_disable" ]; then- echo "Disabling Kyber I/O scheduler..."- scripts/config --disable CONFIG_MQ_IOSCHED_KYBER- fi+ ### Enable protect mappings under memory pressure+ if [ -n "$_mm_protect" ]; then+ echo "Enabling protect file mappings under memory pressure..."+ scripts/config --enable CONFIG_UNEVICTABLE_FILE+ scripts/config --set-val CONFIG_UNEVICTABLE_FILE_KBYTES_LOW 0+ scripts/config --set-val CONFIG_UNEVICTABLE_FILE_KBYTES_MIN 0+ echo "Enabling protect anonymous mappings under memory pressure..."+ scripts/config --enable CONFIG_UNEVICTABLE_ANON+ scripts/config --set-val CONFIG_UNEVICTABLE_ANON_KBYTES_LOW 0+ scripts/config --set-val CONFIG_UNEVICTABLE_ANON_KBYTES_MIN 0+ fi+ ### Enable multigenerational LRU+ if [ -n "$_lru_enable" ]; then+ echo "Enabling multigenerational LRU..."+ scripts/config --enable CONFIG_ARCH_HAS_NONLEAF_PMD_YOUNG+ scripts/config --enable CONFIG_LRU_GEN+ scripts/config --set-val CONFIG_NR_LRU_GENS 7+ scripts/config --set-val CONFIG_TIERS_PER_GEN 4+ scripts/config --enable CONFIG_LRU_GEN_ENABLED+ scripts/config --disable CONFIG_LRU_GEN_STATS+ fi- ### Enable protect mappings under memory pressure- if [ -n "$_mm_protect" ]; then- echo "Enabling protect file mappings under memory pressure..."- scripts/config --enable CONFIG_UNEVICTABLE_FILE- scripts/config --set-val CONFIG_UNEVICTABLE_FILE_KBYTES_LOW 0- scripts/config --set-val CONFIG_UNEVICTABLE_FILE_KBYTES_MIN 0- echo "Enabling protect anonymous mappings under memory pressure..."- scripts/config --enable CONFIG_UNEVICTABLE_ANON- scripts/config --set-val CONFIG_UNEVICTABLE_ANON_KBYTES_LOW 0- scripts/config --set-val CONFIG_UNEVICTABLE_ANON_KBYTES_MIN 0- fi-- ### Enable multigenerational LRU- if [ -n "$_lru_enable" ]; then- echo "Enabling multigenerational LRU..."- scripts/config --enable CONFIG_ARCH_HAS_NONLEAF_PMD_YOUNG- scripts/config --enable CONFIG_LRU_GEN- scripts/config --set-val CONFIG_NR_LRU_GENS 7- scripts/config --set-val CONFIG_TIERS_PER_GEN 4- scripts/config --enable CONFIG_LRU_GEN_ENABLED- scripts/config --disable CONFIG_LRU_GEN_STATS- fi+ ### Enable DAMON+ if [ -n "$_damon" ]; then+ echo "Enabling DAMON..."+ scripts/config --enable CONFIG_DAMON+ scripts/config --disable CONFIG_DAMON_VADDR+ scripts/config --disable CONFIG_DAMON_DBGFS+ scripts/config --enable CONFIG_DAMON_PADDR+ scripts/config --enable CONFIG_DAMON_RECLAIM+ fi- ### Enable DAMON- if [ -n "$_damon" ]; then- echo "Enabling DAMON..."- scripts/config --enable CONFIG_DAMON- scripts/config --disable CONFIG_DAMON_VADDR- scripts/config --disable CONFIG_DAMON_DBGFS- scripts/config --enable CONFIG_DAMON_PADDR- scripts/config --enable CONFIG_DAMON_RECLAIM- fi+ ### Enable Linux Random Number Generator+ if [ -n "$_lrng_enable" ]; then+ echo "Enabling Linux Random Number Generator ..."+ echo "Enabling Linux Random Number Generator with pfkernel config..."+ scripts/config --enable CONFIG_LRNG+ scripts/config --enable CONFIG_LRNG_OVERSAMPLE_ENTROPY_SOURCES+ scripts/config --set-val CONFIG_CONFIG_LRNG_OVERSAMPLE_ES_BITS 64+ scripts/config --set-val CONFIG_LRNG_SEED_BUFFER_INIT_ADD_BITS 128+ scripts/config --enable CONFIG_LRNG_IRQ+ scripts/config --enable CONFIG_LRNG_CONTINUOUS_COMPRESSION_ENABLED+ scripts/config --disable CONFIG_LRNG_CONTINUOUS_COMPRESSION_DISABLED+ scripts/config --enable CONFIG_LRNG_ENABLE_CONTINUOUS_COMPRESSION+ scripts/config --enable CONFIG_LRNG_SWITCHABLE_CONTINUOUS_COMPRESSION+ scripts/config --disable CONFIG_LRNG_COLLECTION_SIZE_512+ scripts/config --enable CONFIG_LRNG_COLLECTION_SIZE_1024+ scripts/config --disable CONFIG_LRNG_COLLECTION_SIZE_2048+ scripts/config --disable CONFIG_LRNG_COLLECTION_SIZE_4096+ scripts/config --disable CONFIG_LRNG_COLLECTION_SIZE_8192+ scripts/config --set-val CONFIG_LRNG_COLLECTION_SIZE 1024+ scripts/config --enable CONFIG_LRNG_HEALTH_TESTS+ scripts/config --set-val CONFIG_LRNG_RCT_CUTOFF 31+ scripts/config --set-val CONFIG_LRNG_APT_CUTOFF 325+ scripts/config --set-val CONFIG_LRNG_IRQ_ENTROPY_RATE 256+ scripts/config --enable CONFIG_LRNG_JENT+ scripts/config --set-val CONFIG_LRNG_JENT_ENTROPY_RATE 16+ scripts/config --enable CONFIG_LRNG_CPU+ scripts/config --set-val CONFIG_LRNG_CPU_ENTROPY_RATE 8+ scripts/config --enable CONFIG_LRNG_DRNG_SWITCH+ scripts/config --enable CONFIG_LRNG_KCAPI_HASH+ scripts/config --module CONFIG_LRNG_DRBG+ scripts/config --module CONFIG_LRNG_KCAPI+ scripts/config --enable CONFIG_LRNG_TESTING_MENU+ scripts/config --disable CONFIG_LRNG_RAW_HIRES_ENTROPY+ scripts/config --disable CONFIG_LRNG_RAW_JIFFIES_ENTROPY+ scripts/config --disable CONFIG_LRNG_RAW_IRQ_ENTROPY+ scripts/config --disable CONFIG_LRNG_RAW_IRQFLAGS_ENTROPY+ scripts/config --disable CONFIG_LRNG_RAW_RETIP_ENTROPY+ scripts/config --disable CONFIG_LRNG_RAW_REGS_ENTROPY+ scripts/config --disable CONFIG_LRNG_RAW_ARRAY+ scripts/config --disable CONFIG_LRNG_IRQ_PERF+ scripts/config --disable CONFIG_LRNG_ACVT_HASH+ scripts/config --enable CONFIG_LRNG_RUNTIME_ES_CONFIG+ scripts/config --disable CONFIG_LRNG_RUNTIME_MAX_WO_RESEED_CONFIG+ scripts/config --disable CONFIG_LRNG_TEST_CPU_ES_COMPRESSION+ scripts/config --enable CONFIG_LRNG_SELFTEST+ scripts/config --disable CONFIG_LRNG_SELFTEST_PANIC+ fi- ### Enable Linux Random Number Generator- if [ -n "$_lrng_enable" ]; then- echo "Enabling Linux Random Number Generator ..."- echo "Enabling Linux Random Number Generator with pfkernel config..."- scripts/config --enable CONFIG_LRNG- scripts/config --enable CONFIG_LRNG_OVERSAMPLE_ENTROPY_SOURCES- scripts/config --set-val CONFIG_CONFIG_LRNG_OVERSAMPLE_ES_BITS 64- scripts/config --set-val CONFIG_LRNG_SEED_BUFFER_INIT_ADD_BITS 128- scripts/config --enable CONFIG_LRNG_IRQ- scripts/config --enable CONFIG_LRNG_CONTINUOUS_COMPRESSION_ENABLED- scripts/config --disable CONFIG_LRNG_CONTINUOUS_COMPRESSION_DISABLED- scripts/config --enable CONFIG_LRNG_ENABLE_CONTINUOUS_COMPRESSION- scripts/config --enable CONFIG_LRNG_SWITCHABLE_CONTINUOUS_COMPRESSION- scripts/config --disable CONFIG_LRNG_COLLECTION_SIZE_512- scripts/config --enable CONFIG_LRNG_COLLECTION_SIZE_1024- scripts/config --disable CONFIG_LRNG_COLLECTION_SIZE_2048- scripts/config --disable CONFIG_LRNG_COLLECTION_SIZE_4096- scripts/config --disable CONFIG_LRNG_COLLECTION_SIZE_8192- scripts/config --set-val CONFIG_LRNG_COLLECTION_SIZE 1024- scripts/config --enable CONFIG_LRNG_HEALTH_TESTS- scripts/config --set-val CONFIG_LRNG_RCT_CUTOFF 31- scripts/config --set-val CONFIG_LRNG_APT_CUTOFF 325- scripts/config --set-val CONFIG_LRNG_IRQ_ENTROPY_RATE 256- scripts/config --enable CONFIG_LRNG_JENT- scripts/config --set-val CONFIG_LRNG_JENT_ENTROPY_RATE 16- scripts/config --enable CONFIG_LRNG_CPU- scripts/config --set-val CONFIG_LRNG_CPU_ENTROPY_RATE 8- scripts/config --enable CONFIG_LRNG_DRNG_SWITCH- scripts/config --enable CONFIG_LRNG_KCAPI_HASH- scripts/config --module CONFIG_LRNG_DRBG- scripts/config --module CONFIG_LRNG_KCAPI- scripts/config --enable CONFIG_LRNG_TESTING_MENU- scripts/config --disable CONFIG_LRNG_RAW_HIRES_ENTROPY- scripts/config --disable CONFIG_LRNG_RAW_JIFFIES_ENTROPY- scripts/config --disable CONFIG_LRNG_RAW_IRQ_ENTROPY- scripts/config --disable CONFIG_LRNG_RAW_IRQFLAGS_ENTROPY- scripts/config --disable CONFIG_LRNG_RAW_RETIP_ENTROPY- scripts/config --disable CONFIG_LRNG_RAW_REGS_ENTROPY- scripts/config --disable CONFIG_LRNG_RAW_ARRAY- scripts/config --disable CONFIG_LRNG_IRQ_PERF- scripts/config --disable CONFIG_LRNG_ACVT_HASH- scripts/config --enable CONFIG_LRNG_RUNTIME_ES_CONFIG- scripts/config --disable CONFIG_LRNG_RUNTIME_MAX_WO_RESEED_CONFIG- scripts/config --disable CONFIG_LRNG_TEST_CPU_ES_COMPRESSION- scripts/config --enable CONFIG_LRNG_SELFTEST- scripts/config --disable CONFIG_LRNG_SELFTEST_PANIC- fi+ echo "Enable LLVM LTO"+ if [ -n "$_use_llvm_lto" ]; then+ scripts/config --disable CONFIG_LTO_NONE+ fi- echo "Enable LLVM LTO"- if [ -n "$_use_llvm_lto" ]; then- scripts/config --disable CONFIG_LTO_NONE- fi+ if [ -n "$_use_page_check" ]; then+ echo "Enable Page Table Check"+ scripts/config --enable ARCH_SUPPORTS_PAGE_TABLE_CHECK+ scripts/config --enable CONFIG_PAGE_TABLE_CHECK+ scripts/config --enable CONFIG_PAGE_TABLE_CHECK_ENFORCED+ fi### Selecting the ZSTD compression levelif [ "$_zstd_level" = "ultra" ]; then@@ -671,6 +672,7 @@ md5sums=('b79700122766ccf561f032eb3c8da27e''25fe602949e5b92d08df96e55e418d7a''2627c6fcd9760b0e7a3553500db0a7e1''e3fa8507aed6ef3ce37e62f18fe9b7e1'+ '152706f6ebbe9917c6a5955cd5447344''4bfca774a71e7228f5b8bb31660521af''4866d66f4cc1b10cccb520c22cbc71d7''53f037488a66667220c263f92ded333d'@@ -687,7 +689,6 @@ md5sums=('b79700122766ccf561f032eb3c8da27e''8c354c3d1962ec6785db7f0c3fbbab03''9b6369bc4c58ad0d9195b5c204ed4b8a''c6efda5716e4ff79ebdbc963bebd851a'- '408dfabb34f2b79aa2f5044b052703db''08c84362cb916b30d9c77e35b1b3bc54''56fdf3562b041c0408d9751b7e447977''b09b84168822521426f197610727618b'diff --git a/linux-cachyos-rc/.SRCINFO b/linux-cachyos-rc/.SRCINFOindex 14f40c9b..ba738c9f 100644--- a/linux-cachyos-rc/.SRCINFO+++ b/linux-cachyos-rc/.SRCINFO@@ -1,7 +1,7 @@pkgbase = linux-cachyos-rcpkgdesc = Linux-CachyOS Kernel-RC by Hamad Marri and with some other patchsetspkgver = 5.16.1- pkgrel = 1+ pkgrel = 2url = https://github.com/cachyos/linux-cachyosarch = x86_64arch = x86_64_v3@@ -18,44 +18,42 @@ pkgbase = linux-cachyos-rcmakedepends = perlmakedepends = tarmakedepends = xz- makedepends = clang- makedepends = llvm- makedepends = lld- makedepends = python- depends = clang- depends = llvm- depends = lld- depends = pythonoptions = !strip- source = https://git.kernel.org/torvalds/t/linux-5.16-rc4.tar.gz+ source = https://git.kernel.org/torvalds/t/linux-5.16-rc5.tar.gzsource = config- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/misc/0001-block-5.16.patch- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-apparmor.patch- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-mapple.patch- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-damon.patch- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-misc.patch+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-bore-5.16.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-bbr2.patch- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-cpu-patches.patch+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-amd-patches.patch+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-block.patch+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-lrng.patch+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-misc-2.patch+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-cpu.patch+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-fixes.patch+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-futex.patch+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-hwmon.patch+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-clearlinux.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-zstd-patches.patch- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/misc/0001-mm.patch+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-ksm.patch+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-pte-marker.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-zen-patches.patch- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-winesync-fsync.patch- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/AMD/0001-amd-pstate-dev-v5-fixes.patchsource = auto-cpu-optimization.sh- md5sums = c3b864c2edd20351f8fbfa265df89508+ md5sums = fc8324c20772b997ef37de8cfebd489fmd5sums = 0ac42c66359097d484fc67a1905008b0- md5sums = ed2a1bd6ccb62423dca67821baf836e1- md5sums = e8e38f00f1f33ed66e16d3df996ad1d9- md5sums = 049da61c4dcabfc5130940a0c734b1e0- md5sums = 04c5f310615c227be04f20123412eed6- md5sums = 299b176cbfc1b386d74406387e9e2d6b+ md5sums = 7df4edf28f486873807f15c9ed0216a0md5sums = 15ffc9a58dbdfff5aa77bc085d2b335a- md5sums = 67764a5824b567b49bcce19c01d4e1b3+ md5sums = b9b7f287edd8804118c9eda03574ab8b+ md5sums = aa5b31d6f9600ec3b1664cd4e5839b75+ md5sums = 08d66bbba34a98e3a2d83e2bd89aa257+ md5sums = db445bd5650d7e0ce2552704bb944752+ md5sums = c840895ea0da5c49cbc62e08d3646ee0+ md5sums = f574f1c40fa2d07602e77418b863e144+ md5sums = 2458d1c5d00d10709922e686c5d1e97f+ md5sums = c9a168a620a6a95247447ee5fd8de8b4+ md5sums = d78bb31569440421e0e76d9a8c0a14fcmd5sums = bf58290793d3a095ef95fb1fac2de89a- md5sums = 500f49b7f8ebe52f10ce473e50522b08+ md5sums = 5bbccd18de800b0b54652bee0b76da0a+ md5sums = 99771ace6973c3f9ae60c858d7b5e59amd5sums = de6db1147385c058b2e94df3c1739fdf- md5sums = 13ed4ea506b1dc0e9e8437d34c99a916- md5sums = 4866d66f4cc1b10cccb520c22cbc71d7md5sums = 21c98f19e883879dd3336c1fa143fd31pkgname = linux-cachyos-rcdiff --git a/linux-cachyos-rc/PKGBUILD b/linux-cachyos-rc/PKGBUILDindex 47230cca..5138491e 100644--- a/linux-cachyos-rc/PKGBUILD+++ b/linux-cachyos-rc/PKGBUILD@@ -78,7 +78,7 @@ _zstd_module_level='normal'_fork_brute=## Enable it for compiling with LLVM and THINLTO-_use_llvm_lto=y+_use_llvm_lto=# Enable it for using the LLVM CFI PATCH for a better security_use_cfi=@@ -106,8 +106,11 @@ _use_current=# Tweak kernel options prior to a build via nconfig_makenconfig=y-+if [ -n "$_use_llvm_lto" ]; then+pkgbase=linux-cachyos-rc-lto+elsepkgbase=linux-cachyos-rc+fi_major=5.16_minor=0_minorc=$((_minor+1))@@ -116,7 +119,7 @@ pkgver=${_major}.${_minorc}_stable=${_major}.${_minor}_stablerc=${_major}-${_rcver}_srcname=linux-${_stablerc}-pkgrel=1+pkgrel=2pkgdesc='Linux-CachyOS Kernel-RC by Hamad Marri and with some other patchsets'arch=('x86_64' 'x86_64_v3')url="https://github.com/cachyos/linux-cachyos"@@ -127,33 +130,31 @@ makedepends=('kmod' 'bc' 'libelf' 'python-sphinx' 'python-sphinx_rtd_theme'if [ -n "$_use_llvm_lto" ]; thenmakedepends+=(clang llvm lld python)fi- if [ -n "$_use_llvm_lto" ]; then- depends+=(clang llvm lld python)- fi+if [ -n "$_use_llvm_lto" ]; then+ depends+=(clang llvm lld python)+fi_caculepatches="https://raw.githubusercontent.com/ptr1337/kernel-patches/master/CacULE"_patchsource="https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16"source=("https://git.kernel.org/torvalds/t/linux-${_stablerc}.tar.gz""config"-# "${_caculepatches}/v5.16/0001-cacULE-5.16-full.patch"- "${_patchsource}/0001-cacule-bs-sched-5.16.patch"-# "${_patchsource}/TT/0001-tt-r2-5.16.patch"+ # "${_caculepatches}/v5.16/0001-cacULE-5.16-full.patch"+ "${_patchsource}/0001-bore-5.16.patch""${_patchsource}/0001-bbr2.patch"- "${_patchsource}/misc/0001-block-5.16.patch"+ "${_patchsource}/0001-amd-patches.patch"+ "${_patchsource}/0001-block.patch""${_patchsource}/0001-lrng.patch"- "${_patchsource}/0001-misc.patch"+ "${_patchsource}/0001-misc-2.patch""${_patchsource}/0001-cpu.patch""${_patchsource}/0001-fixes.patch"- "${_patchsource}/0001-throttle.patch"+ "${_patchsource}/0001-futex.patch"+ "${_patchsource}/0001-hwmon.patch""${_patchsource}/0001-clearlinux.patch""${_patchsource}/0001-zstd-patches.patch""${_patchsource}/0001-ksm.patch"- "${_patchsource}/0001-sched-fix.patch""${_patchsource}/0001-pte-marker.patch""${_patchsource}/0001-zen-patches.patch"- "${_patchsource}/0001-winesync-fsync.patch"- "https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/AMD/0001-amd-pstate-dev-v5-fixes.patch""auto-cpu-optimization.sh")if [ -n "$_use_llvm_lto" ]; then@@ -201,13 +202,6 @@ prepare() {source "${startdir}"/configurecpu_archfi- ### Optionally set tickrate to 2000HZ- if [ -n "$_2k_HZ_ticks" ]; then- echo "Setting tick rate to 2k..."- scripts/config --disable CONFIG_HZ_300- scripts/config --enable CONFIG_HZ_2000- scripts/config --set-val CONFIG_HZ 2000- fi### Optionally set tickrate to 1000if [ -n "$_1k_HZ_ticks" ]; then@@ -581,23 +575,19 @@ donemd5sums=('fc8324c20772b997ef37de8cfebd489f''0ac42c66359097d484fc67a1905008b0'+ '7df4edf28f486873807f15c9ed0216a0''15ffc9a58dbdfff5aa77bc085d2b335a'- 'ed2a1bd6ccb62423dca67821baf836e1'- 'e8e38f00f1f33ed66e16d3df996ad1d9'- '04c5f310615c227be04f20123412eed6'+ 'b9b7f287edd8804118c9eda03574ab8b'+ 'aa5b31d6f9600ec3b1664cd4e5839b75''08d66bbba34a98e3a2d83e2bd89aa257'- '299b176cbfc1b386d74406387e9e2d6b'+ 'db445bd5650d7e0ce2552704bb944752''c840895ea0da5c49cbc62e08d3646ee0''f574f1c40fa2d07602e77418b863e144'- '2fd466dbbb9de8ee02e9178731b93451'+ '2458d1c5d00d10709922e686c5d1e97f'+ 'c9a168a620a6a95247447ee5fd8de8b4''d78bb31569440421e0e76d9a8c0a14fc''bf58290793d3a095ef95fb1fac2de89a'- '43f6fa397f26304860aab86998e2d010'- 'b61acf64829368b2f8cf03f1b1877991''5bbccd18de800b0b54652bee0b76da0a'- 'fd918d13c20960ca78c78d21d6695e85''99771ace6973c3f9ae60c858d7b5e59a''de6db1147385c058b2e94df3c1739fdf'- '13ed4ea506b1dc0e9e8437d34c99a916'- '4866d66f4cc1b10cccb520c22cbc71d7''21c98f19e883879dd3336c1fa143fd31')diff --git a/linux-cachyos-rt/.SRCINFO b/linux-cachyos-rt/.SRCINFOindex b8dd323f..e02e9bab 100644--- a/linux-cachyos-rt/.SRCINFO+++ b/linux-cachyos-rt/.SRCINFO@@ -1,7 +1,7 @@pkgbase = linux-cachyos-rtpkgdesc = Linux-cacule Kernel by CachyOS and with some other patches and other improvementspkgver = 5.15.7- pkgrel = 1+ pkgrel = 2url = https://github.com/ptr1337/linux-caculearch = x86_64arch = x86_64_v3@@ -26,17 +26,16 @@ pkgbase = linux-cachyos-rtsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-misc-next.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/AMD/0001-amd64-patches.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-bbr2.patch+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-page-table-check.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-clearlinux-patches.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-cpu-patches.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/AMD/0001-amd-pstate-dev-v5-fixes.patch- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-bfq.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-btrfs-patches.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-ck-hrtimer.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-fixes-miscellaneous.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-futex-wait.v-fsync-winesync.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-hwmon-patches.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-ksmbd-patches.patch- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-damon.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-lqx-patches.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-pf-patches.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-v4l2loopback.patch@@ -51,17 +50,16 @@ pkgbase = linux-cachyos-rtmd5sums = 6971378b4fb2b16c0c0089cd55fc61f9md5sums = 53f037488a66667220c263f92ded333dmd5sums = 2a8097ba46be56fbbe3967e9c34c9a0b- md5sums = 0b6d09bdd920f4c31c05fdeaa0740548+ md5sums = 152706f6ebbe9917c6a5955cd5447344+ md5sums = 41887f2f959068e41756f4c39671ca79md5sums = 67764a5824b567b49bcce19c01d4e1b3md5sums = 4866d66f4cc1b10cccb520c22cbc71d7- md5sums = ff2c6319fb660962609e2c8d43eab654md5sums = 5b9a009ab68ba548e9d06e0932ab967dmd5sums = 6038177c72982533035309fcd6df208a- md5sums = 8aaac6621843060d8fec99e839c3200a+ md5sums = 2a13aa40945c9910f7ad20a429442793md5sums = 8c354c3d1962ec6785db7f0c3fbbab03md5sums = 9b6369bc4c58ad0d9195b5c204ed4b8amd5sums = c6efda5716e4ff79ebdbc963bebd851a- md5sums = 408dfabb34f2b79aa2f5044b052703dbmd5sums = 56fdf3562b041c0408d9751b7e447977md5sums = 08c84362cb916b30d9c77e35b1b3bc54md5sums = 8cb0301d159b59727b7bdd09350e2a9fdiff --git a/linux-cachyos-rt/PKGBUILD b/linux-cachyos-rt/PKGBUILDindex 56872da0..636a8cf2 100644--- a/linux-cachyos-rt/PKGBUILD+++ b/linux-cachyos-rt/PKGBUILD@@ -17,7 +17,7 @@ _futex2=y#enable winesync_winesync=y-### Running with a 2000 HZ, 1000HZ, 750Hz or 500HZ tick rate+### Running with a 1000HZ, 750Hz or 500HZ tick rate_2k_HZ_ticks=_1k_HZ_ticks=y_750_HZ_ticks=@@ -42,6 +42,8 @@ _lrng_enable=## Samba3 Server_ksmbd_enable=+_use_page_check=y+## Apply Kernel automatic Optimization_use_auto_optimization=y@@ -111,7 +113,7 @@ elsepkgbase=linux-cachyos-rtfipkgver=5.15.7-pkgrel=1+pkgrel=2arch=(x86_64 x86_64_v3)pkgdesc='Linux-cacule Kernel by CachyOS and with some other patches and other improvements'_gittag=v${pkgver%.*}-${pkgver##*.}@@ -133,17 +135,17 @@ source=("https://cdn.kernel.org/pub/linux/kernel/v${pkgver:0:1}.x/linux-${pkgver"${_patchsource}/0001-misc-next.patch""${_patchsource}/AMD/0001-amd64-patches.patch""${_patchsource}/0001-bbr2.patch"+ "${_patchsource}/0001-page-table-check.patch""${_patchsource}/0001-clearlinux-patches.patch""${_patchsource}/0001-cpu-patches.patch""${_patchsource}/AMD/0001-amd-pstate-dev-v5-fixes.patch"- "${_patchsource}/0001-bfq.patch""${_patchsource}/0001-btrfs-patches.patch""${_patchsource}/0001-ck-hrtimer.patch""${_patchsource}/0001-fixes-miscellaneous.patch""${_patchsource}/0001-futex-wait.v-fsync-winesync.patch""${_patchsource}/0001-hwmon-patches.patch""${_patchsource}/0001-ksmbd-patches.patch"- "${_patchsource}/0001-damon.patch"+# "${_patchsource}/0001-damon-patches.patch""${_patchsource}/0001-lqx-patches.patch"# "${_patchsource}/0001-lrng-patches.patch""${_patchsource}/0001-pf-patches.patch"@@ -218,13 +220,6 @@ prepare() {source "${startdir}"/configurecpu_archfi- ### Optionally set tickrate to 2000HZ- if [ -n "$_2k_HZ_ticks" ]; then- echo "Setting tick rate to 2k..."- scripts/config --disable CONFIG_HZ_300- scripts/config --enable CONFIG_HZ_2000- scripts/config --set-val CONFIG_HZ 2000- fi### Optionally set tickrate to 1000if [ -n "$_1k_HZ_ticks" ]; then@@ -302,10 +297,10 @@ prepare() {scripts/config --set-val CONFIG_UNEVICTABLE_ANON_KBYTES_LOW 65536scripts/config --set-val CONFIG_UNEVICTABLE_ANON_KBYTES_MIN 32768scripts/config --enable CONFIG_DAMON- scripts/config --disable CONFIG_DAMON_VADDR- scripts/config --disable CONFIG_DAMON_DBGFS- scripts/config --enable CONFIG_DAMON_PADDR- scripts/config --enable CONFIG_DAMON_RECLAIM+ scripts/config --disable CONFIG_DAMON_VADDR+ scripts/config --disable CONFIG_DAMON_DBGFS+ scripts/config --enable CONFIG_DAMON_PADDR+ scripts/config --enable CONFIG_DAMON_RECLAIMfi### Enable multigenerational LRU@@ -387,6 +382,13 @@ prepare() {scripts/config --enable CONFIG_SMB_SERVER_KERBEROS5fi+ if [ -n "$_use_page_check" ]; then+ echo "Enable Page Table Check"+ scripts/config --enable ARCH_SUPPORTS_PAGE_TABLE_CHECK+ scripts/config --enable CONFIG_PAGE_TABLE_CHECK+ scripts/config --enable CONFIG_PAGE_TABLE_CHECK_ENFORCED+ fi+### Selecting the ZSTD compression levelif [ "$_zstd_level" = "ultra" ]; thenecho "Enabling highest ZSTD compression ratio..."@@ -638,17 +640,16 @@ md5sums=('b79700122766ccf561f032eb3c8da27e''6971378b4fb2b16c0c0089cd55fc61f9''53f037488a66667220c263f92ded333d''2a8097ba46be56fbbe3967e9c34c9a0b'- '0b6d09bdd920f4c31c05fdeaa0740548'+ '152706f6ebbe9917c6a5955cd5447344'+ '41887f2f959068e41756f4c39671ca79''67764a5824b567b49bcce19c01d4e1b3''4866d66f4cc1b10cccb520c22cbc71d7'- 'ff2c6319fb660962609e2c8d43eab654''5b9a009ab68ba548e9d06e0932ab967d''6038177c72982533035309fcd6df208a'- '8aaac6621843060d8fec99e839c3200a'+ '2a13aa40945c9910f7ad20a429442793''8c354c3d1962ec6785db7f0c3fbbab03''9b6369bc4c58ad0d9195b5c204ed4b8a''c6efda5716e4ff79ebdbc963bebd851a'- '408dfabb34f2b79aa2f5044b052703db''56fdf3562b041c0408d9751b7e447977''08c84362cb916b30d9c77e35b1b3bc54''8cb0301d159b59727b7bdd09350e2a9f'diff --git a/linux-cachyos-tt/.SRCINFO b/linux-cachyos-tt/.SRCINFOindex 3341a2d6..eabbc2e4 100644--- a/linux-cachyos-tt/.SRCINFO+++ b/linux-cachyos-tt/.SRCINFO@@ -35,6 +35,7 @@ pkgbase = linux-cachyos-tt-ltosource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-lru-patches.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/AMD/0001-amd-pstate-dev-v5-fixes.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/AMD/0001-amd64-patches.patch+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-page-table-check.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-bbr2.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-bitmap.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-block-patches.patch@@ -49,7 +50,6 @@ pkgbase = linux-cachyos-tt-ltosource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-futex-wait.v-fsync-winesync.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-hwmon-patches.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-ksmbd-patches.patch- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-damon.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-pf-patches.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-lqx-patches.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-lrng-patches.patch@@ -62,12 +62,13 @@ pkgbase = linux-cachyos-tt-ltosource = auto-cpu-optimization.shmd5sums = b79700122766ccf561f032eb3c8da27emd5sums = d97e86d9464dd34683f67de4d4a595c0- md5sums = 8ddae253b47a8c6e746d4510f64dad58+ md5sums = bc1aa14b01786f9bd4cf92d5085e9851md5sums = 2627c6fcd9760b0e7a3553500db0a7e1md5sums = e3fa8507aed6ef3ce37e62f18fe9b7e1md5sums = 4bfca774a71e7228f5b8bb31660521afmd5sums = 4866d66f4cc1b10cccb520c22cbc71d7md5sums = 53f037488a66667220c263f92ded333d+ md5sums = 152706f6ebbe9917c6a5955cd5447344md5sums = 2a8097ba46be56fbbe3967e9c34c9a0bmd5sums = e708f2160dee1ef5c7dffb8a23c199d7md5sums = 56ceaed8bfb44eca93298ccc5fe11ca7@@ -82,7 +83,6 @@ pkgbase = linux-cachyos-tt-ltomd5sums = 8c354c3d1962ec6785db7f0c3fbbab03md5sums = 9b6369bc4c58ad0d9195b5c204ed4b8amd5sums = c6efda5716e4ff79ebdbc963bebd851a- md5sums = 408dfabb34f2b79aa2f5044b052703dbmd5sums = 08c84362cb916b30d9c77e35b1b3bc54md5sums = 56fdf3562b041c0408d9751b7e447977md5sums = b09b84168822521426f197610727618bdiff --git a/linux-cachyos-tt/PKGBUILD b/linux-cachyos-tt/PKGBUILDindex eae51b69..d9e23a1e 100644--- a/linux-cachyos-tt/PKGBUILD+++ b/linux-cachyos-tt/PKGBUILD@@ -49,7 +49,6 @@ _fsync=y_winesync=y### Running with a 2000 HZ, 1000HZ, 750Hz or 500HZ tick rate-_2k_HZ_ticks=_1k_HZ_ticks=_750_HZ_ticks=y_600_HZ_ticks=@@ -73,6 +72,8 @@ _lrng_enable=y### Enable DAMON_damon=+_use_page_check=y+## Apply Kernel automatic Optimization_use_auto_optimization=y@@ -150,6 +151,7 @@ source=("https://www.kernel.org/pub/linux/kernel/v5.x/${_srcname}.tar.xz""${_patchsource}/0001-lru-patches.patch""${_patchsource}/AMD/0001-amd-pstate-dev-v5-fixes.patch""${_patchsource}/AMD/0001-amd64-patches.patch"+ "${_patchsource}/0001-page-table-check.patch""${_patchsource}/0001-bbr2.patch""${_patchsource}/0001-bitmap.patch""${_patchsource}/0001-block-patches.patch"@@ -164,7 +166,7 @@ source=("https://www.kernel.org/pub/linux/kernel/v5.x/${_srcname}.tar.xz""${_patchsource}/0001-futex-wait.v-fsync-winesync.patch""${_patchsource}/0001-hwmon-patches.patch""${_patchsource}/0001-ksmbd-patches.patch"- "${_patchsource}/0001-damon.patch"+# "${_patchsource}/0001-damon-patches.patch""${_patchsource}/0001-pf-patches.patch""${_patchsource}/0001-lqx-patches.patch""${_patchsource}/0001-lrng-patches.patch"@@ -237,186 +239,184 @@ prepare() {fifi- if [ -n "$_use_cfi" ] && [ -n "$_use_llvm_lto" ]; then- scripts/config --enable CONFIG_ARCH_SUPPORTS_CFI_CLANG- scripts/config --enable CONFIG_CFI_CLANG- fi-- if [ -n "$_use_pgo" ]; then- scripts/config --enable CONFIG_ARCH_SUPPORTS_PGO_CLANG- scripts/config --enable DEBUG_FS- scripts/config --enable CONFIG_PGO_CLANG- fi-- ### Microarchitecture Optimization (GCC/CLANG)- if [ -n "$_use_auto_optimization" ]; then- "${srcdir}"/auto-cpu-optimization.sh- fi--- if [ -n "$_use_optimization_select" ]; then- source "${startdir}"/configure- cpu_arch- fi--- ### Optionally set tickrate to 2000HZ- if [ -n "$_2k_HZ_ticks" ]; then- echo "Setting tick rate to 2k..."- scripts/config --disable CONFIG_HZ_300- scripts/config --enable CONFIG_HZ_2000- scripts/config --set-val CONFIG_HZ 2000- fi-- ### Optionally set tickrate to 1000- if [ -n "$_1k_HZ_ticks" ]; then- echo "Setting tick rate to 1k..."- scripts/config --disable CONFIG_HZ_300- scripts/config --enable CONFIG_HZ_1000- scripts/config --set-val CONFIG_HZ 1000- fi-- ### Optionally set tickrate to 750HZ- if [ -n "$_750_HZ_ticks" ]; then- echo "Setting tick rate to 750HZ..."- scripts/config --disable CONFIG_HZ_300- scripts/config --enable CONFIG_HZ_750- scripts/config --set-val CONFIG_HZ 750- fi-- ### Optionally set tickrate to 600HZ- if [ -n "$_600_HZ_ticks" ]; then- echo "Setting tick rate to 600HZ..."- scripts/config --disable CONFIG_HZ_300- scripts/config --enable CONFIG_HZ_600- scripts/config --set-val CONFIG_HZ 600- fi-- ### Optionally set tickrate to 500HZ- if [ -n "$_500_HZ_ticks" ]; then- echo "Setting tick rate to 500HZ..."- scripts/config --disable CONFIG_HZ_300- scripts/config --enable CONFIG_HZ_500- scripts/config --set-val CONFIG_HZ 500- fi-- ### Optionally disable NUMA for 64-bit kernels only- # (x86 kernels do not support NUMA)- if [ -n "$_NUMAdisable" ]; then- echo "Disabling NUMA from kernel config..."- scripts/config --disable CONFIG_NUMA- fi-- if [ -n "$_fsync" ]; then- echo "Enable Fsync support"- scripts/config --enable CONFIG_FUTEX- scripts/config --enable CONFIG_FUTEX_PI- fi--- if [ -n "$_winesync" ]; then- echo "Enable winesync support"- scripts/config --module CONFIG_WINESYNC- fi-- ### Disable MQ-Deadline I/O scheduler- if [ -n "$_mq_deadline_disable" ]; then- echo "Disabling MQ-Deadline I/O scheduler..."- scripts/config --disable CONFIG_MQ_IOSCHED_DEADLINE- fi-- ### Disable Kyber I/O scheduler- if [ -n "$_kyber_disable" ]; then- echo "Disabling Kyber I/O scheduler..."- scripts/config --disable CONFIG_MQ_IOSCHED_KYBER- fi--- ### Enable protect mappings under memory pressure- if [ -n "$_mm_protect" ]; then- echo "Enabling protect file mappings under memory pressure..."- scripts/config --enable CONFIG_UNEVICTABLE_FILE- scripts/config --set-val CONFIG_UNEVICTABLE_FILE_KBYTES_LOW 0- scripts/config --set-val CONFIG_UNEVICTABLE_FILE_KBYTES_MIN 0- echo "Enabling protect anonymous mappings under memory pressure..."- scripts/config --enable CONFIG_UNEVICTABLE_ANON- scripts/config --set-val CONFIG_UNEVICTABLE_ANON_KBYTES_LOW 0- scripts/config --set-val CONFIG_UNEVICTABLE_ANON_KBYTES_MIN 0- fi-- ### Enable multigenerational LRU- if [ -n "$_lru_enable" ]; then- echo "Enabling multigenerational LRU..."- scripts/config --enable CONFIG_ARCH_HAS_NONLEAF_PMD_YOUNG- scripts/config --enable CONFIG_LRU_GEN- scripts/config --set-val CONFIG_NR_LRU_GENS 7- scripts/config --set-val CONFIG_TIERS_PER_GEN 4- scripts/config --enable CONFIG_LRU_GEN_ENABLED- scripts/config --disable CONFIG_LRU_GEN_STATS- fi-- ### Enable DAMON- if [ -n "$_damon" ]; then- echo "Enabling DAMON..."- scripts/config --enable CONFIG_DAMON- scripts/config --disable CONFIG_DAMON_VADDR- scripts/config --disable CONFIG_DAMON_DBGFS- scripts/config --enable CONFIG_DAMON_PADDR- scripts/config --enable CONFIG_DAMON_RECLAIM- fi-- ### Enable Linux Random Number Generator- if [ -n "$_lrng_enable" ]; then- echo "Enabling Linux Random Number Generator ..."- echo "Enabling Linux Random Number Generator with pfkernel config..."- scripts/config --enable CONFIG_LRNG- scripts/config --enable CONFIG_LRNG_OVERSAMPLE_ENTROPY_SOURCES- scripts/config --set-val CONFIG_CONFIG_LRNG_OVERSAMPLE_ES_BITS 64- scripts/config --set-val CONFIG_LRNG_SEED_BUFFER_INIT_ADD_BITS 128- scripts/config --enable CONFIG_LRNG_IRQ- scripts/config --enable CONFIG_LRNG_CONTINUOUS_COMPRESSION_ENABLED- scripts/config --disable CONFIG_LRNG_CONTINUOUS_COMPRESSION_DISABLED- scripts/config --enable CONFIG_LRNG_ENABLE_CONTINUOUS_COMPRESSION- scripts/config --enable CONFIG_LRNG_SWITCHABLE_CONTINUOUS_COMPRESSION- scripts/config --disable CONFIG_LRNG_COLLECTION_SIZE_512- scripts/config --enable CONFIG_LRNG_COLLECTION_SIZE_1024- scripts/config --disable CONFIG_LRNG_COLLECTION_SIZE_2048- scripts/config --disable CONFIG_LRNG_COLLECTION_SIZE_4096- scripts/config --disable CONFIG_LRNG_COLLECTION_SIZE_8192- scripts/config --set-val CONFIG_LRNG_COLLECTION_SIZE 1024- scripts/config --enable CONFIG_LRNG_HEALTH_TESTS- scripts/config --set-val CONFIG_LRNG_RCT_CUTOFF 31- scripts/config --set-val CONFIG_LRNG_APT_CUTOFF 325- scripts/config --set-val CONFIG_LRNG_IRQ_ENTROPY_RATE 256- scripts/config --enable CONFIG_LRNG_JENT- scripts/config --set-val CONFIG_LRNG_JENT_ENTROPY_RATE 16- scripts/config --enable CONFIG_LRNG_CPU- scripts/config --set-val CONFIG_LRNG_CPU_ENTROPY_RATE 8- scripts/config --enable CONFIG_LRNG_DRNG_SWITCH- scripts/config --enable CONFIG_LRNG_KCAPI_HASH- scripts/config --module CONFIG_LRNG_DRBG- scripts/config --module CONFIG_LRNG_KCAPI- scripts/config --enable CONFIG_LRNG_TESTING_MENU- scripts/config --disable CONFIG_LRNG_RAW_HIRES_ENTROPY- scripts/config --disable CONFIG_LRNG_RAW_JIFFIES_ENTROPY- scripts/config --disable CONFIG_LRNG_RAW_IRQ_ENTROPY- scripts/config --disable CONFIG_LRNG_RAW_IRQFLAGS_ENTROPY- scripts/config --disable CONFIG_LRNG_RAW_RETIP_ENTROPY- scripts/config --disable CONFIG_LRNG_RAW_REGS_ENTROPY- scripts/config --disable CONFIG_LRNG_RAW_ARRAY- scripts/config --disable CONFIG_LRNG_IRQ_PERF- scripts/config --disable CONFIG_LRNG_ACVT_HASH- scripts/config --enable CONFIG_LRNG_RUNTIME_ES_CONFIG- scripts/config --disable CONFIG_LRNG_RUNTIME_MAX_WO_RESEED_CONFIG- scripts/config --disable CONFIG_LRNG_TEST_CPU_ES_COMPRESSION- scripts/config --enable CONFIG_LRNG_SELFTEST- scripts/config --disable CONFIG_LRNG_SELFTEST_PANIC- fi-- echo "Enable LLVM LTO"- if [ -n "$_use_llvm_lto" ]; then- scripts/config --disable CONFIG_LTO_NONE- fi+ if [ -n "$_use_cfi" ] && [ -n "$_use_llvm_lto" ]; then+ scripts/config --enable CONFIG_ARCH_SUPPORTS_CFI_CLANG+ scripts/config --enable CONFIG_CFI_CLANG+ fi++ if [ -n "$_use_pgo" ]; then+ scripts/config --enable CONFIG_ARCH_SUPPORTS_PGO_CLANG+ scripts/config --enable DEBUG_FS+ scripts/config --enable CONFIG_PGO_CLANG+ fi++ ### Microarchitecture Optimization (GCC/CLANG)+ if [ -n "$_use_auto_optimization" ]; then+ "${srcdir}"/auto-cpu-optimization.sh+ fi+++ if [ -n "$_use_optimization_select" ]; then+ source "${startdir}"/configure+ cpu_arch+ fi++ ### Optionally set tickrate to 1000+ if [ -n "$_1k_HZ_ticks" ]; then+ echo "Setting tick rate to 1k..."+ scripts/config --disable CONFIG_HZ_300+ scripts/config --enable CONFIG_HZ_1000+ scripts/config --set-val CONFIG_HZ 1000+ fi++ ### Optionally set tickrate to 750HZ+ if [ -n "$_750_HZ_ticks" ]; then+ echo "Setting tick rate to 750HZ..."+ scripts/config --disable CONFIG_HZ_300+ scripts/config --enable CONFIG_HZ_750+ scripts/config --set-val CONFIG_HZ 750+ fi++ ### Optionally set tickrate to 600HZ+ if [ -n "$_600_HZ_ticks" ]; then+ echo "Setting tick rate to 600HZ..."+ scripts/config --disable CONFIG_HZ_300+ scripts/config --enable CONFIG_HZ_600+ scripts/config --set-val CONFIG_HZ 600+ fi++ ### Optionally set tickrate to 500HZ+ if [ -n "$_500_HZ_ticks" ]; then+ echo "Setting tick rate to 500HZ..."+ scripts/config --disable CONFIG_HZ_300+ scripts/config --enable CONFIG_HZ_500+ scripts/config --set-val CONFIG_HZ 500+ fi++ ### Optionally disable NUMA for 64-bit kernels only+ # (x86 kernels do not support NUMA)+ if [ -n "$_NUMAdisable" ]; then+ echo "Disabling NUMA from kernel config..."+ scripts/config --disable CONFIG_NUMA+ fi++ if [ -n "$_fsync" ]; then+ echo "Enable Fsync support"+ scripts/config --enable CONFIG_FUTEX+ scripts/config --enable CONFIG_FUTEX_PI+ fi+++ if [ -n "$_winesync" ]; then+ echo "Enable winesync support"+ scripts/config --module CONFIG_WINESYNC+ fi++ ### Disable MQ-Deadline I/O scheduler+ if [ -n "$_mq_deadline_disable" ]; then+ echo "Disabling MQ-Deadline I/O scheduler..."+ scripts/config --disable CONFIG_MQ_IOSCHED_DEADLINE+ fi++ ### Disable Kyber I/O scheduler+ if [ -n "$_kyber_disable" ]; then+ echo "Disabling Kyber I/O scheduler..."+ scripts/config --disable CONFIG_MQ_IOSCHED_KYBER+ fi+++ ### Enable protect mappings under memory pressure+ if [ -n "$_mm_protect" ]; then+ echo "Enabling protect file mappings under memory pressure..."+ scripts/config --enable CONFIG_UNEVICTABLE_FILE+ scripts/config --set-val CONFIG_UNEVICTABLE_FILE_KBYTES_LOW 0+ scripts/config --set-val CONFIG_UNEVICTABLE_FILE_KBYTES_MIN 0+ echo "Enabling protect anonymous mappings under memory pressure..."+ scripts/config --enable CONFIG_UNEVICTABLE_ANON+ scripts/config --set-val CONFIG_UNEVICTABLE_ANON_KBYTES_LOW 0+ scripts/config --set-val CONFIG_UNEVICTABLE_ANON_KBYTES_MIN 0+ fi++ ### Enable multigenerational LRU+ if [ -n "$_lru_enable" ]; then+ echo "Enabling multigenerational LRU..."+ scripts/config --enable CONFIG_ARCH_HAS_NONLEAF_PMD_YOUNG+ scripts/config --enable CONFIG_LRU_GEN+ scripts/config --set-val CONFIG_NR_LRU_GENS 7+ scripts/config --set-val CONFIG_TIERS_PER_GEN 4+ scripts/config --enable CONFIG_LRU_GEN_ENABLED+ scripts/config --disable CONFIG_LRU_GEN_STATS+ fi++ ### Enable DAMON+ if [ -n "$_damon" ]; then+ echo "Enabling DAMON..."+ scripts/config --enable CONFIG_DAMON+ scripts/config --disable CONFIG_DAMON_VADDR+ scripts/config --disable CONFIG_DAMON_DBGFS+ scripts/config --enable CONFIG_DAMON_PADDR+ scripts/config --enable CONFIG_DAMON_RECLAIM+ fi++ ### Enable Linux Random Number Generator+ if [ -n "$_lrng_enable" ]; then+ echo "Enabling Linux Random Number Generator ..."+ echo "Enabling Linux Random Number Generator with pfkernel config..."+ scripts/config --enable CONFIG_LRNG+ scripts/config --enable CONFIG_LRNG_OVERSAMPLE_ENTROPY_SOURCES+ scripts/config --set-val CONFIG_CONFIG_LRNG_OVERSAMPLE_ES_BITS 64+ scripts/config --set-val CONFIG_LRNG_SEED_BUFFER_INIT_ADD_BITS 128+ scripts/config --enable CONFIG_LRNG_IRQ+ scripts/config --enable CONFIG_LRNG_CONTINUOUS_COMPRESSION_ENABLED+ scripts/config --disable CONFIG_LRNG_CONTINUOUS_COMPRESSION_DISABLED+ scripts/config --enable CONFIG_LRNG_ENABLE_CONTINUOUS_COMPRESSION+ scripts/config --enable CONFIG_LRNG_SWITCHABLE_CONTINUOUS_COMPRESSION+ scripts/config --disable CONFIG_LRNG_COLLECTION_SIZE_512+ scripts/config --enable CONFIG_LRNG_COLLECTION_SIZE_1024+ scripts/config --disable CONFIG_LRNG_COLLECTION_SIZE_2048+ scripts/config --disable CONFIG_LRNG_COLLECTION_SIZE_4096+ scripts/config --disable CONFIG_LRNG_COLLECTION_SIZE_8192+ scripts/config --set-val CONFIG_LRNG_COLLECTION_SIZE 1024+ scripts/config --enable CONFIG_LRNG_HEALTH_TESTS+ scripts/config --set-val CONFIG_LRNG_RCT_CUTOFF 31+ scripts/config --set-val CONFIG_LRNG_APT_CUTOFF 325+ scripts/config --set-val CONFIG_LRNG_IRQ_ENTROPY_RATE 256+ scripts/config --enable CONFIG_LRNG_JENT+ scripts/config --set-val CONFIG_LRNG_JENT_ENTROPY_RATE 16+ scripts/config --enable CONFIG_LRNG_CPU+ scripts/config --set-val CONFIG_LRNG_CPU_ENTROPY_RATE 8+ scripts/config --enable CONFIG_LRNG_DRNG_SWITCH+ scripts/config --enable CONFIG_LRNG_KCAPI_HASH+ scripts/config --module CONFIG_LRNG_DRBG+ scripts/config --module CONFIG_LRNG_KCAPI+ scripts/config --enable CONFIG_LRNG_TESTING_MENU+ scripts/config --disable CONFIG_LRNG_RAW_HIRES_ENTROPY+ scripts/config --disable CONFIG_LRNG_RAW_JIFFIES_ENTROPY+ scripts/config --disable CONFIG_LRNG_RAW_IRQ_ENTROPY+ scripts/config --disable CONFIG_LRNG_RAW_IRQFLAGS_ENTROPY+ scripts/config --disable CONFIG_LRNG_RAW_RETIP_ENTROPY+ scripts/config --disable CONFIG_LRNG_RAW_REGS_ENTROPY+ scripts/config --disable CONFIG_LRNG_RAW_ARRAY+ scripts/config --disable CONFIG_LRNG_IRQ_PERF+ scripts/config --disable CONFIG_LRNG_ACVT_HASH+ scripts/config --enable CONFIG_LRNG_RUNTIME_ES_CONFIG+ scripts/config --disable CONFIG_LRNG_RUNTIME_MAX_WO_RESEED_CONFIG+ scripts/config --disable CONFIG_LRNG_TEST_CPU_ES_COMPRESSION+ scripts/config --enable CONFIG_LRNG_SELFTEST+ scripts/config --disable CONFIG_LRNG_SELFTEST_PANIC+ fi++ echo "Enable LLVM LTO"+ if [ -n "$_use_llvm_lto" ]; then+ scripts/config --disable CONFIG_LTO_NONE+ fi++ if [ -n "$_use_page_check" ]; then+ echo "Enable Page Table Check"+ scripts/config --enable ARCH_SUPPORTS_PAGE_TABLE_CHECK+ scripts/config --enable CONFIG_PAGE_TABLE_CHECK+ scripts/config --enable CONFIG_PAGE_TABLE_CHECK_ENFORCED+ fi### Selecting the ZSTD compression levelif [ "$_zstd_level" = "ultra" ]; then@@ -654,12 +654,13 @@ donemd5sums=('b79700122766ccf561f032eb3c8da27e''d97e86d9464dd34683f67de4d4a595c0'- '8ddae253b47a8c6e746d4510f64dad58'+ 'bc1aa14b01786f9bd4cf92d5085e9851''2627c6fcd9760b0e7a3553500db0a7e1''e3fa8507aed6ef3ce37e62f18fe9b7e1''4bfca774a71e7228f5b8bb31660521af''4866d66f4cc1b10cccb520c22cbc71d7''53f037488a66667220c263f92ded333d'+ '152706f6ebbe9917c6a5955cd5447344''2a8097ba46be56fbbe3967e9c34c9a0b''e708f2160dee1ef5c7dffb8a23c199d7''56ceaed8bfb44eca93298ccc5fe11ca7'@@ -674,7 +675,6 @@ md5sums=('b79700122766ccf561f032eb3c8da27e''8c354c3d1962ec6785db7f0c3fbbab03''9b6369bc4c58ad0d9195b5c204ed4b8a''c6efda5716e4ff79ebdbc963bebd851a'- '408dfabb34f2b79aa2f5044b052703db''08c84362cb916b30d9c77e35b1b3bc54''56fdf3562b041c0408d9751b7e447977''b09b84168822521426f197610727618b'diff --git a/linux-cachyos/.SRCINFO b/linux-cachyos/.SRCINFOindex cc772c24..3cfcffbe 100644--- a/linux-cachyos/.SRCINFO+++ b/linux-cachyos/.SRCINFO@@ -1,7 +1,7 @@pkgbase = linux-cachyospkgdesc = Linux CFS scheduler Kernel by CachyOS and with some other patches and other improvementspkgver = 5.15.7- pkgrel = 2+ pkgrel = 3url = https://github.com/CachyOS/linux-cachyosarch = x86_64arch = x86_64_v3@@ -28,6 +28,7 @@ pkgbase = linux-cachyossource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/AMD/0001-amd-pstate-dev-v5-fixes.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/AMD/0001-amd64-patches.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-bbr2.patch+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-page-table-check.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-bitmap.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-block-patches.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-cpu-patches.patch@@ -40,7 +41,6 @@ pkgbase = linux-cachyossource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-futex-wait.v-fsync-winesync.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-hwmon-patches.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-ksmbd-patches.patch- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-damon.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-pf-patches.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-lqx-patches.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-lrng-patches.patch@@ -60,6 +60,7 @@ pkgbase = linux-cachyosmd5sums = 4866d66f4cc1b10cccb520c22cbc71d7md5sums = 53f037488a66667220c263f92ded333dmd5sums = 2a8097ba46be56fbbe3967e9c34c9a0b+ md5sums = 152706f6ebbe9917c6a5955cd5447344md5sums = e708f2160dee1ef5c7dffb8a23c199d7md5sums = 56ceaed8bfb44eca93298ccc5fe11ca7md5sums = 67764a5824b567b49bcce19c01d4e1b3@@ -72,7 +73,6 @@ pkgbase = linux-cachyosmd5sums = 8c354c3d1962ec6785db7f0c3fbbab03md5sums = 9b6369bc4c58ad0d9195b5c204ed4b8amd5sums = c6efda5716e4ff79ebdbc963bebd851a- md5sums = 408dfabb34f2b79aa2f5044b052703dbmd5sums = 08c84362cb916b30d9c77e35b1b3bc54md5sums = 56fdf3562b041c0408d9751b7e447977md5sums = b09b84168822521426f197610727618bdiff --git a/linux-cachyos/PKGBUILD b/linux-cachyos/PKGBUILDindex 80e19b20..b3150c6a 100755--- a/linux-cachyos/PKGBUILD+++ b/linux-cachyos/PKGBUILD@@ -70,6 +70,8 @@ _lru_enable=y### Enable DAMON_damon=+_use_page_check=y+### Enable Linux Random Number Generator_lrng_enable=y@@ -128,7 +130,7 @@ _srcname=linux-${pkgver}arch=(x86_64 x86_64_v3)pkgdesc='Linux CFS scheduler Kernel by CachyOS and with some other patches and other improvements'_srcname=linux-${pkgver}-pkgrel=2+pkgrel=3arch=('x86_64' 'x86_64_v3')url="https://github.com/CachyOS/linux-cachyos"license=('GPL2')@@ -149,6 +151,7 @@ source=(#"https://www.kernel.org/pub/linux/kernel/v5.x/${_srcname}.tar.xz""${_patchsource}/AMD/0001-amd-pstate-dev-v5-fixes.patch""${_patchsource}/AMD/0001-amd64-patches.patch""${_patchsource}/0001-bbr2.patch"+ "${_patchsource}/0001-page-table-check.patch""${_patchsource}/0001-bitmap.patch""${_patchsource}/0001-block-patches.patch""${_patchsource}/0001-cpu-patches.patch"@@ -161,7 +164,7 @@ source=(#"https://www.kernel.org/pub/linux/kernel/v5.x/${_srcname}.tar.xz""${_patchsource}/0001-futex-wait.v-fsync-winesync.patch""${_patchsource}/0001-hwmon-patches.patch""${_patchsource}/0001-ksmbd-patches.patch"- "${_patchsource}/0001-damon.patch"+# "${_patchsource}/0001-damon-patches.patch""${_patchsource}/0001-pf-patches.patch""${_patchsource}/0001-lqx-patches.patch""${_patchsource}/0001-lrng-patches.patch"@@ -252,15 +255,6 @@ if [ -n "$_use_cfi" ] && [ -n "$_use_llvm_lto" ]; thencpu_archfi-- ### Optionally set tickrate to 2000HZ- if [ -n "$_2k_HZ_ticks" ]; then- echo "Setting tick rate to 2k..."- scripts/config --disable CONFIG_HZ_300- scripts/config --enable CONFIG_HZ_2000- scripts/config --set-val CONFIG_HZ 2000- fi-### Optionally set tickrate to 1000if [ -n "$_1k_HZ_ticks" ]; thenecho "Setting tick rate to 1k..."@@ -411,6 +405,13 @@ if [ -n "$_use_cfi" ] && [ -n "$_use_llvm_lto" ]; thenscripts/config --disable CONFIG_LTO_NONEfi+ if [ -n "$_use_page_check" ]; then+ echo "Enable Page Table Check"+ scripts/config --enable ARCH_SUPPORTS_PAGE_TABLE_CHECK+ scripts/config --enable CONFIG_PAGE_TABLE_CHECK+ scripts/config --enable CONFIG_PAGE_TABLE_CHECK_ENFORCED+ fi+### Selecting the ZSTD compression levelif [ "$_zstd_level" = "ultra" ]; thenecho "Enabling highest ZSTD compression ratio..."@@ -648,6 +649,7 @@ md5sums=('b79700122766ccf561f032eb3c8da27e''4866d66f4cc1b10cccb520c22cbc71d7''53f037488a66667220c263f92ded333d''2a8097ba46be56fbbe3967e9c34c9a0b'+ '152706f6ebbe9917c6a5955cd5447344''e708f2160dee1ef5c7dffb8a23c199d7''56ceaed8bfb44eca93298ccc5fe11ca7''67764a5824b567b49bcce19c01d4e1b3'@@ -660,7 +662,6 @@ md5sums=('b79700122766ccf561f032eb3c8da27e''8c354c3d1962ec6785db7f0c3fbbab03''9b6369bc4c58ad0d9195b5c204ed4b8a''c6efda5716e4ff79ebdbc963bebd851a'- '408dfabb34f2b79aa2f5044b052703db''08c84362cb916b30d9c77e35b1b3bc54''56fdf3562b041c0408d9751b7e447977''b09b84168822521426f197610727618b'diff --git a/linux-cacule-rdb/.SRCINFO b/linux-cacule-rdb/.SRCINFOindex 084862f5..0dcd96b4 100644--- a/linux-cacule-rdb/.SRCINFO+++ b/linux-cacule-rdb/.SRCINFO@@ -1,7 +1,7 @@pkgbase = linux-cacule-rdbpkgdesc = Linux CacULE scheduler Kernel by CachyOS and with some other patches and other improvementspkgver = 5.15.7- pkgrel = 2+ pkgrel = 3url = https://github.com/CachyOS/linux-cachyosarch = x86_64arch = x86_64_v3@@ -36,12 +36,12 @@ pkgbase = linux-cacule-rdbsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-clearlinux-patches.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-intel-patches.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-ntfs3.patch+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-page-table-check.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-ck-hrtimer.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-fixes-miscellaneous.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-futex-wait.v-fsync-winesync.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-hwmon-patches.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-ksmbd-patches.patch- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-damon.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-pf-patches.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-lqx-patches.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-lrng-patches.patch@@ -69,12 +69,12 @@ pkgbase = linux-cacule-rdbmd5sums = 41887f2f959068e41756f4c39671ca79md5sums = b04c8a3f01b3dfba1410e2c26ec7d975md5sums = 8cf507777e20cd4d75a0627eef10c10d+ md5sums = 152706f6ebbe9917c6a5955cd5447344md5sums = 6038177c72982533035309fcd6df208amd5sums = 2a13aa40945c9910f7ad20a429442793md5sums = 8c354c3d1962ec6785db7f0c3fbbab03md5sums = 9b6369bc4c58ad0d9195b5c204ed4b8amd5sums = c6efda5716e4ff79ebdbc963bebd851a- md5sums = 408dfabb34f2b79aa2f5044b052703dbmd5sums = 08c84362cb916b30d9c77e35b1b3bc54md5sums = 56fdf3562b041c0408d9751b7e447977md5sums = b09b84168822521426f197610727618bdiff --git a/linux-cacule-rdb/PKGBUILD b/linux-cacule-rdb/PKGBUILDindex e75f6e7f..71be500f 100644--- a/linux-cacule-rdb/PKGBUILD+++ b/linux-cacule-rdb/PKGBUILD@@ -76,6 +76,8 @@ _lrng_enable=y### Enable DAMON_damon=+_use_page_check=y+## Apply Kernel automatic Optimization_use_auto_optimization=y@@ -135,7 +137,7 @@ _srcname=linux-${pkgver}arch=(x86_64 x86_64_v3)pkgdesc='Linux CacULE scheduler Kernel by CachyOS and with some other patches and other improvements'_srcname=linux-${pkgver}-pkgrel=2+pkgrel=3arch=('x86_64' 'x86_64_v3')url="https://github.com/CachyOS/linux-cachyos"license=('GPL2')@@ -168,12 +170,13 @@ source=("${_patchsource}/0001-clearlinux-patches.patch""${_patchsource}/0001-intel-patches.patch""${_patchsource}/0001-ntfs3.patch"+ "${_patchsource}/0001-page-table-check.patch""${_patchsource}/0001-ck-hrtimer.patch""${_patchsource}/0001-fixes-miscellaneous.patch""${_patchsource}/0001-futex-wait.v-fsync-winesync.patch""${_patchsource}/0001-hwmon-patches.patch""${_patchsource}/0001-ksmbd-patches.patch"- "${_patchsource}/0001-damon.patch"+# "${_patchsource}/0001-damon-patches.patch""${_patchsource}/0001-pf-patches.patch""${_patchsource}/0001-lqx-patches.patch""${_patchsource}/0001-lrng-patches.patch"@@ -242,186 +245,184 @@ prepare() {fifi- if [ -n "$_use_cfi" ] && [ -n "$_use_llvm_lto" ]; then- scripts/config --enable CONFIG_ARCH_SUPPORTS_CFI_CLANG- scripts/config --enable CONFIG_CFI_CLANG- fi-- if [ -n "$_use_pgo" ]; then- scripts/config --enable CONFIG_ARCH_SUPPORTS_PGO_CLANG- scripts/config --enable DEBUG_FS- scripts/config --enable CONFIG_PGO_CLANG- fi-- ### Microarchitecture Optimization (GCC/CLANG)- if [ -n "$_use_auto_optimization" ]; then- "${srcdir}"/auto-cpu-optimization.sh- fi--- if [ -n "$_use_optimization_select" ]; then- source "${startdir}"/configure- cpu_arch- fi--- ### Optionally set tickrate to 2000HZ- if [ -n "$_2k_HZ_ticks" ]; then- echo "Setting tick rate to 2k..."- scripts/config --disable CONFIG_HZ_300- scripts/config --enable CONFIG_HZ_2000- scripts/config --set-val CONFIG_HZ 2000- fi-- ### Optionally set tickrate to 1000- if [ -n "$_1k_HZ_ticks" ]; then- echo "Setting tick rate to 1k..."- scripts/config --disable CONFIG_HZ_300- scripts/config --enable CONFIG_HZ_1000- scripts/config --set-val CONFIG_HZ 1000- fi-- ### Optionally set tickrate to 750HZ- if [ -n "$_750_HZ_ticks" ]; then- echo "Setting tick rate to 750HZ..."- scripts/config --disable CONFIG_HZ_300- scripts/config --enable CONFIG_HZ_750- scripts/config --set-val CONFIG_HZ 750- fi-- ### Optionally set tickrate to 600HZ- if [ -n "$_600_HZ_ticks" ]; then- echo "Setting tick rate to 600HZ..."- scripts/config --disable CONFIG_HZ_300- scripts/config --enable CONFIG_HZ_600- scripts/config --set-val CONFIG_HZ 600- fi-- ### Optionally set tickrate to 500HZ- if [ -n "$_500_HZ_ticks" ]; then- echo "Setting tick rate to 500HZ..."- scripts/config --disable CONFIG_HZ_300- scripts/config --enable CONFIG_HZ_500- scripts/config --set-val CONFIG_HZ 500- fi-- ### Optionally disable NUMA for 64-bit kernels only- # (x86 kernels do not support NUMA)- if [ -n "$_NUMAdisable" ]; then- echo "Disabling NUMA from kernel config..."- scripts/config --disable CONFIG_NUMA- fi-- if [ -n "$_fsync" ]; then- echo "Enable Fsync support"- scripts/config --enable CONFIG_FUTEX- scripts/config --enable CONFIG_FUTEX_PI- fi--- if [ -n "$_winesync" ]; then- echo "Enable winesync support"- scripts/config --module CONFIG_WINESYNC- fi-- ### Disable MQ-Deadline I/O scheduler- if [ -n "$_mq_deadline_disable" ]; then- echo "Disabling MQ-Deadline I/O scheduler..."- scripts/config --disable CONFIG_MQ_IOSCHED_DEADLINE- fi-- ### Disable Kyber I/O scheduler- if [ -n "$_kyber_disable" ]; then- echo "Disabling Kyber I/O scheduler..."- scripts/config --disable CONFIG_MQ_IOSCHED_KYBER- fi--- ### Enable protect mappings under memory pressure- if [ -n "$_mm_protect" ]; then- echo "Enabling protect file mappings under memory pressure..."- scripts/config --enable CONFIG_UNEVICTABLE_FILE- scripts/config --set-val CONFIG_UNEVICTABLE_FILE_KBYTES_LOW 0- scripts/config --set-val CONFIG_UNEVICTABLE_FILE_KBYTES_MIN 0- echo "Enabling protect anonymous mappings under memory pressure..."- scripts/config --enable CONFIG_UNEVICTABLE_ANON- scripts/config --set-val CONFIG_UNEVICTABLE_ANON_KBYTES_LOW 0- scripts/config --set-val CONFIG_UNEVICTABLE_ANON_KBYTES_MIN 0- fi-- ### Enable multigenerational LRU- if [ -n "$_lru_enable" ]; then- echo "Enabling multigenerational LRU..."- scripts/config --enable CONFIG_ARCH_HAS_NONLEAF_PMD_YOUNG- scripts/config --enable CONFIG_LRU_GEN- scripts/config --set-val CONFIG_NR_LRU_GENS 7- scripts/config --set-val CONFIG_TIERS_PER_GEN 4- scripts/config --enable CONFIG_LRU_GEN_ENABLED- scripts/config --disable CONFIG_LRU_GEN_STATS- fi-- ### Enable DAMON- if [ -n "$_damon" ]; then- echo "Enabling DAMON..."- scripts/config --enable CONFIG_DAMON- scripts/config --disable CONFIG_DAMON_VADDR- scripts/config --disable CONFIG_DAMON_DBGFS- scripts/config --enable CONFIG_DAMON_PADDR- scripts/config --enable CONFIG_DAMON_RECLAIM- fi-- ### Enable Linux Random Number Generator- if [ -n "$_lrng_enable" ]; then- echo "Enabling Linux Random Number Generator ..."- echo "Enabling Linux Random Number Generator with pfkernel config..."- scripts/config --enable CONFIG_LRNG- scripts/config --enable CONFIG_LRNG_OVERSAMPLE_ENTROPY_SOURCES- scripts/config --set-val CONFIG_CONFIG_LRNG_OVERSAMPLE_ES_BITS 64- scripts/config --set-val CONFIG_LRNG_SEED_BUFFER_INIT_ADD_BITS 128- scripts/config --enable CONFIG_LRNG_IRQ- scripts/config --enable CONFIG_LRNG_CONTINUOUS_COMPRESSION_ENABLED- scripts/config --disable CONFIG_LRNG_CONTINUOUS_COMPRESSION_DISABLED- scripts/config --enable CONFIG_LRNG_ENABLE_CONTINUOUS_COMPRESSION- scripts/config --enable CONFIG_LRNG_SWITCHABLE_CONTINUOUS_COMPRESSION- scripts/config --disable CONFIG_LRNG_COLLECTION_SIZE_512- scripts/config --enable CONFIG_LRNG_COLLECTION_SIZE_1024- scripts/config --disable CONFIG_LRNG_COLLECTION_SIZE_2048- scripts/config --disable CONFIG_LRNG_COLLECTION_SIZE_4096- scripts/config --disable CONFIG_LRNG_COLLECTION_SIZE_8192- scripts/config --set-val CONFIG_LRNG_COLLECTION_SIZE 1024- scripts/config --enable CONFIG_LRNG_HEALTH_TESTS- scripts/config --set-val CONFIG_LRNG_RCT_CUTOFF 31- scripts/config --set-val CONFIG_LRNG_APT_CUTOFF 325- scripts/config --set-val CONFIG_LRNG_IRQ_ENTROPY_RATE 256- scripts/config --enable CONFIG_LRNG_JENT- scripts/config --set-val CONFIG_LRNG_JENT_ENTROPY_RATE 16- scripts/config --enable CONFIG_LRNG_CPU- scripts/config --set-val CONFIG_LRNG_CPU_ENTROPY_RATE 8- scripts/config --enable CONFIG_LRNG_DRNG_SWITCH- scripts/config --enable CONFIG_LRNG_KCAPI_HASH- scripts/config --module CONFIG_LRNG_DRBG- scripts/config --module CONFIG_LRNG_KCAPI- scripts/config --enable CONFIG_LRNG_TESTING_MENU- scripts/config --disable CONFIG_LRNG_RAW_HIRES_ENTROPY- scripts/config --disable CONFIG_LRNG_RAW_JIFFIES_ENTROPY- scripts/config --disable CONFIG_LRNG_RAW_IRQ_ENTROPY- scripts/config --disable CONFIG_LRNG_RAW_IRQFLAGS_ENTROPY- scripts/config --disable CONFIG_LRNG_RAW_RETIP_ENTROPY- scripts/config --disable CONFIG_LRNG_RAW_REGS_ENTROPY- scripts/config --disable CONFIG_LRNG_RAW_ARRAY- scripts/config --disable CONFIG_LRNG_IRQ_PERF- scripts/config --disable CONFIG_LRNG_ACVT_HASH- scripts/config --enable CONFIG_LRNG_RUNTIME_ES_CONFIG- scripts/config --disable CONFIG_LRNG_RUNTIME_MAX_WO_RESEED_CONFIG- scripts/config --disable CONFIG_LRNG_TEST_CPU_ES_COMPRESSION- scripts/config --enable CONFIG_LRNG_SELFTEST- scripts/config --disable CONFIG_LRNG_SELFTEST_PANIC- fi-- echo "Enable LLVM LTO"- if [ -n "$_use_llvm_lto" ]; then- scripts/config --disable CONFIG_LTO_NONE- fi+ if [ -n "$_use_cfi" ] && [ -n "$_use_llvm_lto" ]; then+ scripts/config --enable CONFIG_ARCH_SUPPORTS_CFI_CLANG+ scripts/config --enable CONFIG_CFI_CLANG+ fi++ if [ -n "$_use_pgo" ]; then+ scripts/config --enable CONFIG_ARCH_SUPPORTS_PGO_CLANG+ scripts/config --enable DEBUG_FS+ scripts/config --enable CONFIG_PGO_CLANG+ fi++ ### Microarchitecture Optimization (GCC/CLANG)+ if [ -n "$_use_auto_optimization" ]; then+ "${srcdir}"/auto-cpu-optimization.sh+ fi+++ if [ -n "$_use_optimization_select" ]; then+ source "${startdir}"/configure+ cpu_arch+ fi++ ### Optionally set tickrate to 1000+ if [ -n "$_1k_HZ_ticks" ]; then+ echo "Setting tick rate to 1k..."+ scripts/config --disable CONFIG_HZ_300+ scripts/config --enable CONFIG_HZ_1000+ scripts/config --set-val CONFIG_HZ 1000+ fi++ ### Optionally set tickrate to 750HZ+ if [ -n "$_750_HZ_ticks" ]; then+ echo "Setting tick rate to 750HZ..."+ scripts/config --disable CONFIG_HZ_300+ scripts/config --enable CONFIG_HZ_750+ scripts/config --set-val CONFIG_HZ 750+ fi++ ### Optionally set tickrate to 600HZ+ if [ -n "$_600_HZ_ticks" ]; then+ echo "Setting tick rate to 600HZ..."+ scripts/config --disable CONFIG_HZ_300+ scripts/config --enable CONFIG_HZ_600+ scripts/config --set-val CONFIG_HZ 600+ fi++ ### Optionally set tickrate to 500HZ+ if [ -n "$_500_HZ_ticks" ]; then+ echo "Setting tick rate to 500HZ..."+ scripts/config --disable CONFIG_HZ_300+ scripts/config --enable CONFIG_HZ_500+ scripts/config --set-val CONFIG_HZ 500+ fi++ ### Optionally disable NUMA for 64-bit kernels only+ # (x86 kernels do not support NUMA)+ if [ -n "$_NUMAdisable" ]; then+ echo "Disabling NUMA from kernel config..."+ scripts/config --disable CONFIG_NUMA+ fi++ if [ -n "$_fsync" ]; then+ echo "Enable Fsync support"+ scripts/config --enable CONFIG_FUTEX+ scripts/config --enable CONFIG_FUTEX_PI+ fi+++ if [ -n "$_winesync" ]; then+ echo "Enable winesync support"+ scripts/config --module CONFIG_WINESYNC+ fi++ ### Disable MQ-Deadline I/O scheduler+ if [ -n "$_mq_deadline_disable" ]; then+ echo "Disabling MQ-Deadline I/O scheduler..."+ scripts/config --disable CONFIG_MQ_IOSCHED_DEADLINE+ fi++ ### Disable Kyber I/O scheduler+ if [ -n "$_kyber_disable" ]; then+ echo "Disabling Kyber I/O scheduler..."+ scripts/config --disable CONFIG_MQ_IOSCHED_KYBER+ fi+++ ### Enable protect mappings under memory pressure+ if [ -n "$_mm_protect" ]; then+ echo "Enabling protect file mappings under memory pressure..."+ scripts/config --enable CONFIG_UNEVICTABLE_FILE+ scripts/config --set-val CONFIG_UNEVICTABLE_FILE_KBYTES_LOW 0+ scripts/config --set-val CONFIG_UNEVICTABLE_FILE_KBYTES_MIN 0+ echo "Enabling protect anonymous mappings under memory pressure..."+ scripts/config --enable CONFIG_UNEVICTABLE_ANON+ scripts/config --set-val CONFIG_UNEVICTABLE_ANON_KBYTES_LOW 0+ scripts/config --set-val CONFIG_UNEVICTABLE_ANON_KBYTES_MIN 0+ fi++ ### Enable multigenerational LRU+ if [ -n "$_lru_enable" ]; then+ echo "Enabling multigenerational LRU..."+ scripts/config --enable CONFIG_ARCH_HAS_NONLEAF_PMD_YOUNG+ scripts/config --enable CONFIG_LRU_GEN+ scripts/config --set-val CONFIG_NR_LRU_GENS 7+ scripts/config --set-val CONFIG_TIERS_PER_GEN 4+ scripts/config --enable CONFIG_LRU_GEN_ENABLED+ scripts/config --disable CONFIG_LRU_GEN_STATS+ fi++ ### Enable DAMON+ if [ -n "$_damon" ]; then+ echo "Enabling DAMON..."+ scripts/config --enable CONFIG_DAMON+ scripts/config --disable CONFIG_DAMON_VADDR+ scripts/config --disable CONFIG_DAMON_DBGFS+ scripts/config --enable CONFIG_DAMON_PADDR+ scripts/config --enable CONFIG_DAMON_RECLAIM+ fi++ ### Enable Linux Random Number Generator+ if [ -n "$_lrng_enable" ]; then+ echo "Enabling Linux Random Number Generator ..."+ echo "Enabling Linux Random Number Generator with pfkernel config..."+ scripts/config --enable CONFIG_LRNG+ scripts/config --enable CONFIG_LRNG_OVERSAMPLE_ENTROPY_SOURCES+ scripts/config --set-val CONFIG_CONFIG_LRNG_OVERSAMPLE_ES_BITS 64+ scripts/config --set-val CONFIG_LRNG_SEED_BUFFER_INIT_ADD_BITS 128+ scripts/config --enable CONFIG_LRNG_IRQ+ scripts/config --enable CONFIG_LRNG_CONTINUOUS_COMPRESSION_ENABLED+ scripts/config --disable CONFIG_LRNG_CONTINUOUS_COMPRESSION_DISABLED+ scripts/config --enable CONFIG_LRNG_ENABLE_CONTINUOUS_COMPRESSION+ scripts/config --enable CONFIG_LRNG_SWITCHABLE_CONTINUOUS_COMPRESSION+ scripts/config --disable CONFIG_LRNG_COLLECTION_SIZE_512+ scripts/config --enable CONFIG_LRNG_COLLECTION_SIZE_1024+ scripts/config --disable CONFIG_LRNG_COLLECTION_SIZE_2048+ scripts/config --disable CONFIG_LRNG_COLLECTION_SIZE_4096+ scripts/config --disable CONFIG_LRNG_COLLECTION_SIZE_8192+ scripts/config --set-val CONFIG_LRNG_COLLECTION_SIZE 1024+ scripts/config --enable CONFIG_LRNG_HEALTH_TESTS+ scripts/config --set-val CONFIG_LRNG_RCT_CUTOFF 31+ scripts/config --set-val CONFIG_LRNG_APT_CUTOFF 325+ scripts/config --set-val CONFIG_LRNG_IRQ_ENTROPY_RATE 256+ scripts/config --enable CONFIG_LRNG_JENT+ scripts/config --set-val CONFIG_LRNG_JENT_ENTROPY_RATE 16+ scripts/config --enable CONFIG_LRNG_CPU+ scripts/config --set-val CONFIG_LRNG_CPU_ENTROPY_RATE 8+ scripts/config --enable CONFIG_LRNG_DRNG_SWITCH+ scripts/config --enable CONFIG_LRNG_KCAPI_HASH+ scripts/config --module CONFIG_LRNG_DRBG+ scripts/config --module CONFIG_LRNG_KCAPI+ scripts/config --enable CONFIG_LRNG_TESTING_MENU+ scripts/config --disable CONFIG_LRNG_RAW_HIRES_ENTROPY+ scripts/config --disable CONFIG_LRNG_RAW_JIFFIES_ENTROPY+ scripts/config --disable CONFIG_LRNG_RAW_IRQ_ENTROPY+ scripts/config --disable CONFIG_LRNG_RAW_IRQFLAGS_ENTROPY+ scripts/config --disable CONFIG_LRNG_RAW_RETIP_ENTROPY+ scripts/config --disable CONFIG_LRNG_RAW_REGS_ENTROPY+ scripts/config --disable CONFIG_LRNG_RAW_ARRAY+ scripts/config --disable CONFIG_LRNG_IRQ_PERF+ scripts/config --disable CONFIG_LRNG_ACVT_HASH+ scripts/config --enable CONFIG_LRNG_RUNTIME_ES_CONFIG+ scripts/config --disable CONFIG_LRNG_RUNTIME_MAX_WO_RESEED_CONFIG+ scripts/config --disable CONFIG_LRNG_TEST_CPU_ES_COMPRESSION+ scripts/config --enable CONFIG_LRNG_SELFTEST+ scripts/config --disable CONFIG_LRNG_SELFTEST_PANIC+ fi++ echo "Enable LLVM LTO"+ if [ -n "$_use_llvm_lto" ]; then+ scripts/config --disable CONFIG_LTO_NONE+ fi++ if [ -n "$_use_page_check" ]; then+ echo "Enable Page Table Check"+ scripts/config --enable ARCH_SUPPORTS_PAGE_TABLE_CHECK+ scripts/config --enable CONFIG_PAGE_TABLE_CHECK+ scripts/config --enable CONFIG_PAGE_TABLE_CHECK_ENFORCED+ fi### Selecting the ZSTD compression levelif [ "$_zstd_level" = "ultra" ]; then@@ -482,9 +483,6 @@ prepare() {scripts/config --enable CONFIG_TCP_CONG_BBR2scripts/config --enable CONFIG_DEFAULT_BBR2scripts/config --set-str CONFIG_DEFAULT_TCP_CONG bbr2- echo "Enabling FULLCONENAT..."- scripts/config --module CONFIG_IP_NF_TARGET_FULLCONENAT- scripts/config --module CONFIG_NETFILTER_XT_TARGET_FULLCONENATecho "Setting performance governor..."scripts/config --disable CONFIG_CPU_FREQ_DEFAULT_GOV_SCHEDUTILscripts/config --enable CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE@@ -684,12 +682,12 @@ md5sums=('b79700122766ccf561f032eb3c8da27e''41887f2f959068e41756f4c39671ca79''b04c8a3f01b3dfba1410e2c26ec7d975''8cf507777e20cd4d75a0627eef10c10d'+ '152706f6ebbe9917c6a5955cd5447344''6038177c72982533035309fcd6df208a''2a13aa40945c9910f7ad20a429442793''8c354c3d1962ec6785db7f0c3fbbab03''9b6369bc4c58ad0d9195b5c204ed4b8a''c6efda5716e4ff79ebdbc963bebd851a'- '408dfabb34f2b79aa2f5044b052703db''08c84362cb916b30d9c77e35b1b3bc54''56fdf3562b041c0408d9751b7e447977''b09b84168822521426f197610727618b'diff --git a/linux-cacule/.SRCINFO b/linux-cacule/.SRCINFOindex 28a098a5..08027da3 100644--- a/linux-cacule/.SRCINFO+++ b/linux-cacule/.SRCINFO@@ -1,7 +1,7 @@pkgbase = linux-caculepkgdesc = Linux CacULE scheduler Kernel by CachyOS and with some other patches and other improvementspkgver = 5.15.7- pkgrel = 2+ pkgrel = 3url = https://github.com/CachyOS/linux-cachyosarch = x86_64arch = x86_64_v3@@ -41,7 +41,7 @@ pkgbase = linux-caculesource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-futex-wait.v-fsync-winesync.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-hwmon-patches.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-ksmbd-patches.patch- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-damon.patch+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-page-table-check.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-pf-patches.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-lqx-patches.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-lrng-patches.patch@@ -74,7 +74,7 @@ pkgbase = linux-caculemd5sums = 8c354c3d1962ec6785db7f0c3fbbab03md5sums = 9b6369bc4c58ad0d9195b5c204ed4b8amd5sums = c6efda5716e4ff79ebdbc963bebd851a- md5sums = 408dfabb34f2b79aa2f5044b052703db+ md5sums = 152706f6ebbe9917c6a5955cd5447344md5sums = 08c84362cb916b30d9c77e35b1b3bc54md5sums = 56fdf3562b041c0408d9751b7e447977md5sums = b09b84168822521426f197610727618bdiff --git a/linux-cacule/PKGBUILD b/linux-cacule/PKGBUILDindex 8c6af4bc..263334db 100644--- a/linux-cacule/PKGBUILD+++ b/linux-cacule/PKGBUILD@@ -51,7 +51,7 @@ _fsync=y#enable winesync_winesync=y-### Running with a 2000 HZ, 1000HZ, 750Hz or 500HZ tick rate+### Running with a 1000HZ, 750Hz or 500HZ tick rate_2k_HZ_ticks=_1k_HZ_ticks=_750_HZ_ticks=y@@ -76,6 +76,8 @@ _lrng_enable=y### Enable DAMON_damon=+_use_page_check=y+## Apply Kernel automatic Optimization_use_auto_optimization=y@@ -135,7 +137,7 @@ _srcname=linux-${pkgver}arch=(x86_64 x86_64_v3)pkgdesc='Linux CacULE scheduler Kernel by CachyOS and with some other patches and other improvements'_srcname=linux-${pkgver}-pkgrel=2+pkgrel=3arch=('x86_64' 'x86_64_v3')url="https://github.com/CachyOS/linux-cachyos"license=('GPL2')@@ -173,7 +175,8 @@ source=("${_patchsource}/0001-futex-wait.v-fsync-winesync.patch""${_patchsource}/0001-hwmon-patches.patch""${_patchsource}/0001-ksmbd-patches.patch"- "${_patchsource}/0001-damon.patch"+ "${_patchsource}/0001-page-table-check.patch"+# "${_patchsource}/0001-damon-patches.patch""${_patchsource}/0001-pf-patches.patch""${_patchsource}/0001-lqx-patches.patch""${_patchsource}/0001-lrng-patches.patch"@@ -242,186 +245,182 @@ prepare() {fifi- if [ -n "$_use_cfi" ] && [ -n "$_use_llvm_lto" ]; then- scripts/config --enable CONFIG_ARCH_SUPPORTS_CFI_CLANG- scripts/config --enable CONFIG_CFI_CLANG- fi-- if [ -n "$_use_pgo" ]; then- scripts/config --enable CONFIG_ARCH_SUPPORTS_PGO_CLANG- scripts/config --enable DEBUG_FS- scripts/config --enable CONFIG_PGO_CLANG- fi-- ### Microarchitecture Optimization (GCC/CLANG)- if [ -n "$_use_auto_optimization" ]; then- "${srcdir}"/auto-cpu-optimization.sh- fi--- if [ -n "$_use_optimization_select" ]; then- source "${startdir}"/configure- cpu_arch- fi--- ### Optionally set tickrate to 2000HZ- if [ -n "$_2k_HZ_ticks" ]; then- echo "Setting tick rate to 2k..."- scripts/config --disable CONFIG_HZ_300- scripts/config --enable CONFIG_HZ_2000- scripts/config --set-val CONFIG_HZ 2000- fi-- ### Optionally set tickrate to 1000- if [ -n "$_1k_HZ_ticks" ]; then- echo "Setting tick rate to 1k..."- scripts/config --disable CONFIG_HZ_300- scripts/config --enable CONFIG_HZ_1000- scripts/config --set-val CONFIG_HZ 1000- fi-- ### Optionally set tickrate to 750HZ- if [ -n "$_750_HZ_ticks" ]; then- echo "Setting tick rate to 750HZ..."- scripts/config --disable CONFIG_HZ_300- scripts/config --enable CONFIG_HZ_750- scripts/config --set-val CONFIG_HZ 750- fi-- ### Optionally set tickrate to 600HZ- if [ -n "$_600_HZ_ticks" ]; then- echo "Setting tick rate to 600HZ..."- scripts/config --disable CONFIG_HZ_300- scripts/config --enable CONFIG_HZ_600- scripts/config --set-val CONFIG_HZ 600- fi-- ### Optionally set tickrate to 500HZ- if [ -n "$_500_HZ_ticks" ]; then- echo "Setting tick rate to 500HZ..."- scripts/config --disable CONFIG_HZ_300- scripts/config --enable CONFIG_HZ_500- scripts/config --set-val CONFIG_HZ 500- fi-- ### Optionally disable NUMA for 64-bit kernels only- # (x86 kernels do not support NUMA)- if [ -n "$_NUMAdisable" ]; then- echo "Disabling NUMA from kernel config..."- scripts/config --disable CONFIG_NUMA- fi-- if [ -n "$_fsync" ]; then- echo "Enable Fsync support"- scripts/config --enable CONFIG_FUTEX- scripts/config --enable CONFIG_FUTEX_PI- fi--- if [ -n "$_winesync" ]; then- echo "Enable winesync support"- scripts/config --module CONFIG_WINESYNC- fi-- ### Disable MQ-Deadline I/O scheduler- if [ -n "$_mq_deadline_disable" ]; then- echo "Disabling MQ-Deadline I/O scheduler..."- scripts/config --disable CONFIG_MQ_IOSCHED_DEADLINE- fi-- ### Disable Kyber I/O scheduler- if [ -n "$_kyber_disable" ]; then- echo "Disabling Kyber I/O scheduler..."- scripts/config --disable CONFIG_MQ_IOSCHED_KYBER- fi--- ### Enable protect mappings under memory pressure- if [ -n "$_mm_protect" ]; then- echo "Enabling protect file mappings under memory pressure..."- scripts/config --enable CONFIG_UNEVICTABLE_FILE- scripts/config --set-val CONFIG_UNEVICTABLE_FILE_KBYTES_LOW 0- scripts/config --set-val CONFIG_UNEVICTABLE_FILE_KBYTES_MIN 0- echo "Enabling protect anonymous mappings under memory pressure..."- scripts/config --enable CONFIG_UNEVICTABLE_ANON- scripts/config --set-val CONFIG_UNEVICTABLE_ANON_KBYTES_LOW 0- scripts/config --set-val CONFIG_UNEVICTABLE_ANON_KBYTES_MIN 0- fi-- ### Enable multigenerational LRU- if [ -n "$_lru_enable" ]; then- echo "Enabling multigenerational LRU..."- scripts/config --enable CONFIG_ARCH_HAS_NONLEAF_PMD_YOUNG- scripts/config --enable CONFIG_LRU_GEN- scripts/config --set-val CONFIG_NR_LRU_GENS 7- scripts/config --set-val CONFIG_TIERS_PER_GEN 4- scripts/config --enable CONFIG_LRU_GEN_ENABLED- scripts/config --disable CONFIG_LRU_GEN_STATS- fi-- ### Enable DAMON- if [ -n "$_damon" ]; then- echo "Enabling DAMON..."- scripts/config --enable CONFIG_DAMON- scripts/config --disable CONFIG_DAMON_VADDR- scripts/config --disable CONFIG_DAMON_DBGFS- scripts/config --enable CONFIG_DAMON_PADDR- scripts/config --enable CONFIG_DAMON_RECLAIM- fi-- ### Enable Linux Random Number Generator- if [ -n "$_lrng_enable" ]; then- echo "Enabling Linux Random Number Generator ..."- echo "Enabling Linux Random Number Generator with pfkernel config..."- scripts/config --enable CONFIG_LRNG- scripts/config --enable CONFIG_LRNG_OVERSAMPLE_ENTROPY_SOURCES- scripts/config --set-val CONFIG_CONFIG_LRNG_OVERSAMPLE_ES_BITS 64- scripts/config --set-val CONFIG_LRNG_SEED_BUFFER_INIT_ADD_BITS 128- scripts/config --enable CONFIG_LRNG_IRQ- scripts/config --enable CONFIG_LRNG_CONTINUOUS_COMPRESSION_ENABLED- scripts/config --disable CONFIG_LRNG_CONTINUOUS_COMPRESSION_DISABLED- scripts/config --enable CONFIG_LRNG_ENABLE_CONTINUOUS_COMPRESSION- scripts/config --enable CONFIG_LRNG_SWITCHABLE_CONTINUOUS_COMPRESSION- scripts/config --disable CONFIG_LRNG_COLLECTION_SIZE_512- scripts/config --enable CONFIG_LRNG_COLLECTION_SIZE_1024- scripts/config --disable CONFIG_LRNG_COLLECTION_SIZE_2048- scripts/config --disable CONFIG_LRNG_COLLECTION_SIZE_4096- scripts/config --disable CONFIG_LRNG_COLLECTION_SIZE_8192- scripts/config --set-val CONFIG_LRNG_COLLECTION_SIZE 1024- scripts/config --enable CONFIG_LRNG_HEALTH_TESTS- scripts/config --set-val CONFIG_LRNG_RCT_CUTOFF 31- scripts/config --set-val CONFIG_LRNG_APT_CUTOFF 325- scripts/config --set-val CONFIG_LRNG_IRQ_ENTROPY_RATE 256- scripts/config --enable CONFIG_LRNG_JENT- scripts/config --set-val CONFIG_LRNG_JENT_ENTROPY_RATE 16- scripts/config --enable CONFIG_LRNG_CPU- scripts/config --set-val CONFIG_LRNG_CPU_ENTROPY_RATE 8- scripts/config --enable CONFIG_LRNG_DRNG_SWITCH- scripts/config --enable CONFIG_LRNG_KCAPI_HASH- scripts/config --module CONFIG_LRNG_DRBG- scripts/config --module CONFIG_LRNG_KCAPI- scripts/config --enable CONFIG_LRNG_TESTING_MENU- scripts/config --disable CONFIG_LRNG_RAW_HIRES_ENTROPY- scripts/config --disable CONFIG_LRNG_RAW_JIFFIES_ENTROPY- scripts/config --disable CONFIG_LRNG_RAW_IRQ_ENTROPY- scripts/config --disable CONFIG_LRNG_RAW_IRQFLAGS_ENTROPY- scripts/config --disable CONFIG_LRNG_RAW_RETIP_ENTROPY- scripts/config --disable CONFIG_LRNG_RAW_REGS_ENTROPY- scripts/config --disable CONFIG_LRNG_RAW_ARRAY- scripts/config --disable CONFIG_LRNG_IRQ_PERF- scripts/config --disable CONFIG_LRNG_ACVT_HASH- scripts/config --enable CONFIG_LRNG_RUNTIME_ES_CONFIG- scripts/config --disable CONFIG_LRNG_RUNTIME_MAX_WO_RESEED_CONFIG- scripts/config --disable CONFIG_LRNG_TEST_CPU_ES_COMPRESSION- scripts/config --enable CONFIG_LRNG_SELFTEST- scripts/config --disable CONFIG_LRNG_SELFTEST_PANIC- fi-- echo "Enable LLVM LTO"- if [ -n "$_use_llvm_lto" ]; then- scripts/config --disable CONFIG_LTO_NONE- fi+ if [ -n "$_use_cfi" ] && [ -n "$_use_llvm_lto" ]; then+ scripts/config --enable CONFIG_ARCH_SUPPORTS_CFI_CLANG+ scripts/config --enable CONFIG_CFI_CLANG+ fi++ if [ -n "$_use_pgo" ]; then+ scripts/config --enable CONFIG_ARCH_SUPPORTS_PGO_CLANG+ scripts/config --enable DEBUG_FS+ scripts/config --enable CONFIG_PGO_CLANG+ fi++ ### Microarchitecture Optimization (GCC/CLANG)+ if [ -n "$_use_auto_optimization" ]; then+ "${srcdir}"/auto-cpu-optimization.sh+ fi+++ if [ -n "$_use_optimization_select" ]; then+ source "${startdir}"/configure+ cpu_arch+ fi++ ### Optionally set tickrate to 1000+ if [ -n "$_1k_HZ_ticks" ]; then+ echo "Setting tick rate to 1k..."+ scripts/config --disable CONFIG_HZ_300+ scripts/config --enable CONFIG_HZ_1000+ scripts/config --set-val CONFIG_HZ 1000+ fi++ ### Optionally set tickrate to 750HZ+ if [ -n "$_750_HZ_ticks" ]; then+ echo "Setting tick rate to 750HZ..."+ scripts/config --disable CONFIG_HZ_300+ scripts/config --enable CONFIG_HZ_750+ scripts/config --set-val CONFIG_HZ 750+ fi++ ### Optionally set tickrate to 600HZ+ if [ -n "$_600_HZ_ticks" ]; then+ echo "Setting tick rate to 600HZ..."+ scripts/config --disable CONFIG_HZ_300+ scripts/config --enable CONFIG_HZ_600+ scripts/config --set-val CONFIG_HZ 600+ fi++ ### Optionally set tickrate to 500HZ+ if [ -n "$_500_HZ_ticks" ]; then+ echo "Setting tick rate to 500HZ..."+ scripts/config --disable CONFIG_HZ_300+ scripts/config --enable CONFIG_HZ_500+ scripts/config --set-val CONFIG_HZ 500+ fi++ ### Optionally disable NUMA for 64-bit kernels only+ # (x86 kernels do not support NUMA)+ if [ -n "$_NUMAdisable" ]; then+ echo "Disabling NUMA from kernel config..."+ scripts/config --disable CONFIG_NUMA+ fi++ if [ -n "$_fsync" ]; then+ echo "Enable Fsync support"+ scripts/config --enable CONFIG_FUTEX+ scripts/config --enable CONFIG_FUTEX_PI+ fi+++ if [ -n "$_winesync" ]; then+ echo "Enable winesync support"+ scripts/config --module CONFIG_WINESYNC+ fi++ ### Disable MQ-Deadline I/O scheduler+ if [ -n "$_mq_deadline_disable" ]; then+ echo "Disabling MQ-Deadline I/O scheduler..."+ scripts/config --disable CONFIG_MQ_IOSCHED_DEADLINE+ fi++ ### Disable Kyber I/O scheduler+ if [ -n "$_kyber_disable" ]; then+ echo "Disabling Kyber I/O scheduler..."+ scripts/config --disable CONFIG_MQ_IOSCHED_KYBER+ fi+++ ### Enable protect mappings under memory pressure+ if [ -n "$_mm_protect" ]; then+ echo "Enabling protect file mappings under memory pressure..."+ scripts/config --enable CONFIG_UNEVICTABLE_FILE+ scripts/config --set-val CONFIG_UNEVICTABLE_FILE_KBYTES_LOW 0+ scripts/config --set-val CONFIG_UNEVICTABLE_FILE_KBYTES_MIN 0+ echo "Enabling protect anonymous mappings under memory pressure..."+ scripts/config --enable CONFIG_UNEVICTABLE_ANON+ scripts/config --set-val CONFIG_UNEVICTABLE_ANON_KBYTES_LOW 0+ scripts/config --set-val CONFIG_UNEVICTABLE_ANON_KBYTES_MIN 0+ fi++ ### Enable multigenerational LRU+ if [ -n "$_lru_enable" ]; then+ echo "Enabling multigenerational LRU..."+ scripts/config --enable CONFIG_ARCH_HAS_NONLEAF_PMD_YOUNG+ scripts/config --enable CONFIG_LRU_GEN+ scripts/config --set-val CONFIG_NR_LRU_GENS 7+ scripts/config --set-val CONFIG_TIERS_PER_GEN 4+ scripts/config --enable CONFIG_LRU_GEN_ENABLED+ scripts/config --disable CONFIG_LRU_GEN_STATS+ fi++ ### Enable DAMON+ if [ -n "$_damon" ]; then+ echo "Enabling DAMON..."+ scripts/config --enable CONFIG_DAMON+ scripts/config --disable CONFIG_DAMON_VADDR+ scripts/config --disable CONFIG_DAMON_DBGFS+ scripts/config --enable CONFIG_DAMON_PADDR+ scripts/config --enable CONFIG_DAMON_RECLAIM+ fi+ if [ -n "$_use_page_check" ]; then+ echo "Enable Page Table Check"+ scripts/config --enable ARCH_SUPPORTS_PAGE_TABLE_CHECK+ scripts/config --enable CONFIG_PAGE_TABLE_CHECK+ scripts/config --enable CONFIG_PAGE_TABLE_CHECK_ENFORCED+ fi+ ### Enable Linux Random Number Generator+ if [ -n "$_lrng_enable" ]; then+ echo "Enabling Linux Random Number Generator ..."+ echo "Enabling Linux Random Number Generator with pfkernel config..."+ scripts/config --enable CONFIG_LRNG+ scripts/config --enable CONFIG_LRNG_OVERSAMPLE_ENTROPY_SOURCES+ scripts/config --set-val CONFIG_CONFIG_LRNG_OVERSAMPLE_ES_BITS 64+ scripts/config --set-val CONFIG_LRNG_SEED_BUFFER_INIT_ADD_BITS 128+ scripts/config --enable CONFIG_LRNG_IRQ+ scripts/config --enable CONFIG_LRNG_CONTINUOUS_COMPRESSION_ENABLED+ scripts/config --disable CONFIG_LRNG_CONTINUOUS_COMPRESSION_DISABLED+ scripts/config --enable CONFIG_LRNG_ENABLE_CONTINUOUS_COMPRESSION+ scripts/config --enable CONFIG_LRNG_SWITCHABLE_CONTINUOUS_COMPRESSION+ scripts/config --disable CONFIG_LRNG_COLLECTION_SIZE_512+ scripts/config --enable CONFIG_LRNG_COLLECTION_SIZE_1024+ scripts/config --disable CONFIG_LRNG_COLLECTION_SIZE_2048+ scripts/config --disable CONFIG_LRNG_COLLECTION_SIZE_4096+ scripts/config --disable CONFIG_LRNG_COLLECTION_SIZE_8192+ scripts/config --set-val CONFIG_LRNG_COLLECTION_SIZE 1024+ scripts/config --enable CONFIG_LRNG_HEALTH_TESTS+ scripts/config --set-val CONFIG_LRNG_RCT_CUTOFF 31+ scripts/config --set-val CONFIG_LRNG_APT_CUTOFF 325+ scripts/config --set-val CONFIG_LRNG_IRQ_ENTROPY_RATE 256+ scripts/config --enable CONFIG_LRNG_JENT+ scripts/config --set-val CONFIG_LRNG_JENT_ENTROPY_RATE 16+ scripts/config --enable CONFIG_LRNG_CPU+ scripts/config --set-val CONFIG_LRNG_CPU_ENTROPY_RATE 8+ scripts/config --enable CONFIG_LRNG_DRNG_SWITCH+ scripts/config --enable CONFIG_LRNG_KCAPI_HASH+ scripts/config --module CONFIG_LRNG_DRBG+ scripts/config --module CONFIG_LRNG_KCAPI+ scripts/config --enable CONFIG_LRNG_TESTING_MENU+ scripts/config --disable CONFIG_LRNG_RAW_HIRES_ENTROPY+ scripts/config --disable CONFIG_LRNG_RAW_JIFFIES_ENTROPY+ scripts/config --disable CONFIG_LRNG_RAW_IRQ_ENTROPY+ scripts/config --disable CONFIG_LRNG_RAW_IRQFLAGS_ENTROPY+ scripts/config --disable CONFIG_LRNG_RAW_RETIP_ENTROPY+ scripts/config --disable CONFIG_LRNG_RAW_REGS_ENTROPY+ scripts/config --disable CONFIG_LRNG_RAW_ARRAY+ scripts/config --disable CONFIG_LRNG_IRQ_PERF+ scripts/config --disable CONFIG_LRNG_ACVT_HASH+ scripts/config --enable CONFIG_LRNG_RUNTIME_ES_CONFIG+ scripts/config --disable CONFIG_LRNG_RUNTIME_MAX_WO_RESEED_CONFIG+ scripts/config --disable CONFIG_LRNG_TEST_CPU_ES_COMPRESSION+ scripts/config --enable CONFIG_LRNG_SELFTEST+ scripts/config --disable CONFIG_LRNG_SELFTEST_PANIC+ fi++ echo "Enable LLVM LTO"+ if [ -n "$_use_llvm_lto" ]; then+ scripts/config --disable CONFIG_LTO_NONE+ fi### Selecting the ZSTD compression levelif [ "$_zstd_level" = "ultra" ]; then@@ -689,7 +688,7 @@ md5sums=('b79700122766ccf561f032eb3c8da27e''8c354c3d1962ec6785db7f0c3fbbab03''9b6369bc4c58ad0d9195b5c204ed4b8a''c6efda5716e4ff79ebdbc963bebd851a'- '408dfabb34f2b79aa2f5044b052703db'+ '152706f6ebbe9917c6a5955cd5447344''08c84362cb916b30d9c77e35b1b3bc54''56fdf3562b041c0408d9751b7e447977''b09b84168822521426f197610727618b'diff --git a/linux-tt/.SRCINFO b/linux-tt/.SRCINFOindex 4f901aa7..9fd92d54 100644--- a/linux-tt/.SRCINFO+++ b/linux-tt/.SRCINFO@@ -29,6 +29,7 @@ pkgbase = linux-ttsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/AMD/0001-amd64-patches.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-bbr2.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-bitmap.patch+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-page-table-check.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-block-patches.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-cpu-patches.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-misc.patch@@ -41,7 +42,6 @@ pkgbase = linux-ttsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-futex-wait.v-fsync-winesync.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-hwmon-patches.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-ksmbd-patches.patch- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-damon.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-pf-patches.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-lqx-patches.patchsource = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-lrng-patches.patch@@ -54,7 +54,7 @@ pkgbase = linux-ttsource = auto-cpu-optimization.shmd5sums = b79700122766ccf561f032eb3c8da27emd5sums = d97e86d9464dd34683f67de4d4a595c0- md5sums = 8ddae253b47a8c6e746d4510f64dad58+ md5sums = bc1aa14b01786f9bd4cf92d5085e9851md5sums = 2627c6fcd9760b0e7a3553500db0a7e1md5sums = e3fa8507aed6ef3ce37e62f18fe9b7e1md5sums = 4bfca774a71e7228f5b8bb31660521af@@ -62,6 +62,7 @@ pkgbase = linux-ttmd5sums = 53f037488a66667220c263f92ded333dmd5sums = 2a8097ba46be56fbbe3967e9c34c9a0bmd5sums = e708f2160dee1ef5c7dffb8a23c199d7+ md5sums = 152706f6ebbe9917c6a5955cd5447344md5sums = 56ceaed8bfb44eca93298ccc5fe11ca7md5sums = 67764a5824b567b49bcce19c01d4e1b3md5sums = 299b176cbfc1b386d74406387e9e2d6b@@ -74,7 +75,6 @@ pkgbase = linux-ttmd5sums = 8c354c3d1962ec6785db7f0c3fbbab03md5sums = 9b6369bc4c58ad0d9195b5c204ed4b8amd5sums = c6efda5716e4ff79ebdbc963bebd851a- md5sums = 408dfabb34f2b79aa2f5044b052703dbmd5sums = 08c84362cb916b30d9c77e35b1b3bc54md5sums = 56fdf3562b041c0408d9751b7e447977md5sums = b09b84168822521426f197610727618bdiff --git a/linux-tt/PKGBUILD b/linux-tt/PKGBUILDindex 3b5d1d40..63670fae 100644--- a/linux-tt/PKGBUILD+++ b/linux-tt/PKGBUILD@@ -73,6 +73,8 @@ _lrng_enable=y### Enable DAMON_damon=+_use_page_check=y+## Apply Kernel automatic Optimization_use_auto_optimization=y@@ -152,6 +154,7 @@ source=("https://www.kernel.org/pub/linux/kernel/v5.x/${_srcname}.tar.xz""${_patchsource}/AMD/0001-amd64-patches.patch""${_patchsource}/0001-bbr2.patch""${_patchsource}/0001-bitmap.patch"+ "${_patchsource}/0001-page-table-check.patch""${_patchsource}/0001-block-patches.patch""${_patchsource}/0001-cpu-patches.patch""${_patchsource}/0001-misc.patch"@@ -164,7 +167,7 @@ source=("https://www.kernel.org/pub/linux/kernel/v5.x/${_srcname}.tar.xz""${_patchsource}/0001-futex-wait.v-fsync-winesync.patch""${_patchsource}/0001-hwmon-patches.patch""${_patchsource}/0001-ksmbd-patches.patch"- "${_patchsource}/0001-damon.patch"+# "${_patchsource}/0001-damon-patches.patch""${_patchsource}/0001-pf-patches.patch""${_patchsource}/0001-lqx-patches.patch""${_patchsource}/0001-lrng-patches.patch"@@ -237,186 +240,193 @@ prepare() {fifi- if [ -n "$_use_cfi" ] && [ -n "$_use_llvm_lto" ]; then- scripts/config --enable CONFIG_ARCH_SUPPORTS_CFI_CLANG- scripts/config --enable CONFIG_CFI_CLANG- fi-- if [ -n "$_use_pgo" ]; then- scripts/config --enable CONFIG_ARCH_SUPPORTS_PGO_CLANG- scripts/config --enable DEBUG_FS- scripts/config --enable CONFIG_PGO_CLANG- fi-- ### Microarchitecture Optimization (GCC/CLANG)- if [ -n "$_use_auto_optimization" ]; then- "${srcdir}"/auto-cpu-optimization.sh- fi--- if [ -n "$_use_optimization_select" ]; then- source "${startdir}"/configure- cpu_arch- fi--- ### Optionally set tickrate to 2000HZ- if [ -n "$_2k_HZ_ticks" ]; then- echo "Setting tick rate to 2k..."- scripts/config --disable CONFIG_HZ_300- scripts/config --enable CONFIG_HZ_2000- scripts/config --set-val CONFIG_HZ 2000- fi-- ### Optionally set tickrate to 1000- if [ -n "$_1k_HZ_ticks" ]; then- echo "Setting tick rate to 1k..."- scripts/config --disable CONFIG_HZ_300- scripts/config --enable CONFIG_HZ_1000- scripts/config --set-val CONFIG_HZ 1000- fi-- ### Optionally set tickrate to 750HZ- if [ -n "$_750_HZ_ticks" ]; then- echo "Setting tick rate to 750HZ..."- scripts/config --disable CONFIG_HZ_300- scripts/config --enable CONFIG_HZ_750- scripts/config --set-val CONFIG_HZ 750- fi-- ### Optionally set tickrate to 600HZ- if [ -n "$_600_HZ_ticks" ]; then- echo "Setting tick rate to 600HZ..."- scripts/config --disable CONFIG_HZ_300- scripts/config --enable CONFIG_HZ_600- scripts/config --set-val CONFIG_HZ 600- fi-- ### Optionally set tickrate to 500HZ- if [ -n "$_500_HZ_ticks" ]; then- echo "Setting tick rate to 500HZ..."- scripts/config --disable CONFIG_HZ_300- scripts/config --enable CONFIG_HZ_500- scripts/config --set-val CONFIG_HZ 500- fi-- ### Optionally disable NUMA for 64-bit kernels only- # (x86 kernels do not support NUMA)- if [ -n "$_NUMAdisable" ]; then- echo "Disabling NUMA from kernel config..."- scripts/config --disable CONFIG_NUMA- fi-- if [ -n "$_fsync" ]; then- echo "Enable Fsync support"- scripts/config --enable CONFIG_FUTEX- scripts/config --enable CONFIG_FUTEX_PI- fi--- if [ -n "$_winesync" ]; then- echo "Enable winesync support"- scripts/config --module CONFIG_WINESYNC- fi-- ### Disable MQ-Deadline I/O scheduler- if [ -n "$_mq_deadline_disable" ]; then- echo "Disabling MQ-Deadline I/O scheduler..."- scripts/config --disable CONFIG_MQ_IOSCHED_DEADLINE- fi-- ### Disable Kyber I/O scheduler- if [ -n "$_kyber_disable" ]; then- echo "Disabling Kyber I/O scheduler..."- scripts/config --disable CONFIG_MQ_IOSCHED_KYBER- fi--- ### Enable protect mappings under memory pressure- if [ -n "$_mm_protect" ]; then- echo "Enabling protect file mappings under memory pressure..."- scripts/config --enable CONFIG_UNEVICTABLE_FILE- scripts/config --set-val CONFIG_UNEVICTABLE_FILE_KBYTES_LOW 0- scripts/config --set-val CONFIG_UNEVICTABLE_FILE_KBYTES_MIN 0- echo "Enabling protect anonymous mappings under memory pressure..."- scripts/config --enable CONFIG_UNEVICTABLE_ANON- scripts/config --set-val CONFIG_UNEVICTABLE_ANON_KBYTES_LOW 0- scripts/config --set-val CONFIG_UNEVICTABLE_ANON_KBYTES_MIN 0- fi-- ### Enable multigenerational LRU- if [ -n "$_lru_enable" ]; then- echo "Enabling multigenerational LRU..."- scripts/config --enable CONFIG_ARCH_HAS_NONLEAF_PMD_YOUNG- scripts/config --enable CONFIG_LRU_GEN- scripts/config --set-val CONFIG_NR_LRU_GENS 7- scripts/config --set-val CONFIG_TIERS_PER_GEN 4- scripts/config --enable CONFIG_LRU_GEN_ENABLED- scripts/config --disable CONFIG_LRU_GEN_STATS- fi-- ### Enable DAMON- if [ -n "$_damon" ]; then- echo "Enabling DAMON..."- scripts/config --enable CONFIG_DAMON- scripts/config --disable CONFIG_DAMON_VADDR- scripts/config --disable CONFIG_DAMON_DBGFS- scripts/config --enable CONFIG_DAMON_PADDR- scripts/config --enable CONFIG_DAMON_RECLAIM- fi-- ### Enable Linux Random Number Generator- if [ -n "$_lrng_enable" ]; then- echo "Enabling Linux Random Number Generator ..."- echo "Enabling Linux Random Number Generator with pfkernel config..."- scripts/config --enable CONFIG_LRNG- scripts/config --enable CONFIG_LRNG_OVERSAMPLE_ENTROPY_SOURCES- scripts/config --set-val CONFIG_CONFIG_LRNG_OVERSAMPLE_ES_BITS 64- scripts/config --set-val CONFIG_LRNG_SEED_BUFFER_INIT_ADD_BITS 128- scripts/config --enable CONFIG_LRNG_IRQ- scripts/config --enable CONFIG_LRNG_CONTINUOUS_COMPRESSION_ENABLED- scripts/config --disable CONFIG_LRNG_CONTINUOUS_COMPRESSION_DISABLED- scripts/config --enable CONFIG_LRNG_ENABLE_CONTINUOUS_COMPRESSION- scripts/config --enable CONFIG_LRNG_SWITCHABLE_CONTINUOUS_COMPRESSION- scripts/config --disable CONFIG_LRNG_COLLECTION_SIZE_512- scripts/config --enable CONFIG_LRNG_COLLECTION_SIZE_1024- scripts/config --disable CONFIG_LRNG_COLLECTION_SIZE_2048- scripts/config --disable CONFIG_LRNG_COLLECTION_SIZE_4096- scripts/config --disable CONFIG_LRNG_COLLECTION_SIZE_8192- scripts/config --set-val CONFIG_LRNG_COLLECTION_SIZE 1024- scripts/config --enable CONFIG_LRNG_HEALTH_TESTS- scripts/config --set-val CONFIG_LRNG_RCT_CUTOFF 31- scripts/config --set-val CONFIG_LRNG_APT_CUTOFF 325- scripts/config --set-val CONFIG_LRNG_IRQ_ENTROPY_RATE 256- scripts/config --enable CONFIG_LRNG_JENT- scripts/config --set-val CONFIG_LRNG_JENT_ENTROPY_RATE 16- scripts/config --enable CONFIG_LRNG_CPU- scripts/config --set-val CONFIG_LRNG_CPU_ENTROPY_RATE 8- scripts/config --enable CONFIG_LRNG_DRNG_SWITCH- scripts/config --enable CONFIG_LRNG_KCAPI_HASH- scripts/config --module CONFIG_LRNG_DRBG- scripts/config --module CONFIG_LRNG_KCAPI- scripts/config --enable CONFIG_LRNG_TESTING_MENU- scripts/config --disable CONFIG_LRNG_RAW_HIRES_ENTROPY- scripts/config --disable CONFIG_LRNG_RAW_JIFFIES_ENTROPY- scripts/config --disable CONFIG_LRNG_RAW_IRQ_ENTROPY- scripts/config --disable CONFIG_LRNG_RAW_IRQFLAGS_ENTROPY- scripts/config --disable CONFIG_LRNG_RAW_RETIP_ENTROPY- scripts/config --disable CONFIG_LRNG_RAW_REGS_ENTROPY- scripts/config --disable CONFIG_LRNG_RAW_ARRAY- scripts/config --disable CONFIG_LRNG_IRQ_PERF- scripts/config --disable CONFIG_LRNG_ACVT_HASH- scripts/config --enable CONFIG_LRNG_RUNTIME_ES_CONFIG- scripts/config --disable CONFIG_LRNG_RUNTIME_MAX_WO_RESEED_CONFIG- scripts/config --disable CONFIG_LRNG_TEST_CPU_ES_COMPRESSION- scripts/config --enable CONFIG_LRNG_SELFTEST- scripts/config --disable CONFIG_LRNG_SELFTEST_PANIC- fi-- echo "Enable LLVM LTO"- if [ -n "$_use_llvm_lto" ]; then- scripts/config --disable CONFIG_LTO_NONE- fi+ if [ -n "$_use_cfi" ] && [ -n "$_use_llvm_lto" ]; then+ scripts/config --enable CONFIG_ARCH_SUPPORTS_CFI_CLANG+ scripts/config --enable CONFIG_CFI_CLANG+ fi++ if [ -n "$_use_pgo" ]; then+ scripts/config --enable CONFIG_ARCH_SUPPORTS_PGO_CLANG+ scripts/config --enable DEBUG_FS+ scripts/config --enable CONFIG_PGO_CLANG+ fi++ ### Microarchitecture Optimization (GCC/CLANG)+ if [ -n "$_use_auto_optimization" ]; then+ "${srcdir}"/auto-cpu-optimization.sh+ fi+++ if [ -n "$_use_optimization_select" ]; then+ source "${startdir}"/configure+ cpu_arch+ fi+++ ### Optionally set tickrate to 2000HZ+ if [ -n "$_2k_HZ_ticks" ]; then+ echo "Setting tick rate to 2k..."+ scripts/config --disable CONFIG_HZ_300+ scripts/config --enable CONFIG_HZ_2000+ scripts/config --set-val CONFIG_HZ 2000+ fi++ ### Optionally set tickrate to 1000+ if [ -n "$_1k_HZ_ticks" ]; then+ echo "Setting tick rate to 1k..."+ scripts/config --disable CONFIG_HZ_300+ scripts/config --enable CONFIG_HZ_1000+ scripts/config --set-val CONFIG_HZ 1000+ fi++ ### Optionally set tickrate to 750HZ+ if [ -n "$_750_HZ_ticks" ]; then+ echo "Setting tick rate to 750HZ..."+ scripts/config --disable CONFIG_HZ_300+ scripts/config --enable CONFIG_HZ_750+ scripts/config --set-val CONFIG_HZ 750+ fi++ ### Optionally set tickrate to 600HZ+ if [ -n "$_600_HZ_ticks" ]; then+ echo "Setting tick rate to 600HZ..."+ scripts/config --disable CONFIG_HZ_300+ scripts/config --enable CONFIG_HZ_600+ scripts/config --set-val CONFIG_HZ 600+ fi++ ### Optionally set tickrate to 500HZ+ if [ -n "$_500_HZ_ticks" ]; then+ echo "Setting tick rate to 500HZ..."+ scripts/config --disable CONFIG_HZ_300+ scripts/config --enable CONFIG_HZ_500+ scripts/config --set-val CONFIG_HZ 500+ fi++ ### Optionally disable NUMA for 64-bit kernels only+ # (x86 kernels do not support NUMA)+ if [ -n "$_NUMAdisable" ]; then+ echo "Disabling NUMA from kernel config..."+ scripts/config --disable CONFIG_NUMA+ fi++ if [ -n "$_fsync" ]; then+ echo "Enable Fsync support"+ scripts/config --enable CONFIG_FUTEX+ scripts/config --enable CONFIG_FUTEX_PI+ fi+++ if [ -n "$_winesync" ]; then+ echo "Enable winesync support"+ scripts/config --module CONFIG_WINESYNC+ fi++ ### Disable MQ-Deadline I/O scheduler+ if [ -n "$_mq_deadline_disable" ]; then+ echo "Disabling MQ-Deadline I/O scheduler..."+ scripts/config --disable CONFIG_MQ_IOSCHED_DEADLINE+ fi++ ### Disable Kyber I/O scheduler+ if [ -n "$_kyber_disable" ]; then+ echo "Disabling Kyber I/O scheduler..."+ scripts/config --disable CONFIG_MQ_IOSCHED_KYBER+ fi+++ ### Enable protect mappings under memory pressure+ if [ -n "$_mm_protect" ]; then+ echo "Enabling protect file mappings under memory pressure..."+ scripts/config --enable CONFIG_UNEVICTABLE_FILE+ scripts/config --set-val CONFIG_UNEVICTABLE_FILE_KBYTES_LOW 0+ scripts/config --set-val CONFIG_UNEVICTABLE_FILE_KBYTES_MIN 0+ echo "Enabling protect anonymous mappings under memory pressure..."+ scripts/config --enable CONFIG_UNEVICTABLE_ANON+ scripts/config --set-val CONFIG_UNEVICTABLE_ANON_KBYTES_LOW 0+ scripts/config --set-val CONFIG_UNEVICTABLE_ANON_KBYTES_MIN 0+ fi++ ### Enable multigenerational LRU+ if [ -n "$_lru_enable" ]; then+ echo "Enabling multigenerational LRU..."+ scripts/config --enable CONFIG_ARCH_HAS_NONLEAF_PMD_YOUNG+ scripts/config --enable CONFIG_LRU_GEN+ scripts/config --set-val CONFIG_NR_LRU_GENS 7+ scripts/config --set-val CONFIG_TIERS_PER_GEN 4+ scripts/config --enable CONFIG_LRU_GEN_ENABLED+ scripts/config --disable CONFIG_LRU_GEN_STATS+ fi++ ### Enable DAMON+ if [ -n "$_damon" ]; then+ echo "Enabling DAMON..."+ scripts/config --enable CONFIG_DAMON+ scripts/config --disable CONFIG_DAMON_VADDR+ scripts/config --disable CONFIG_DAMON_DBGFS+ scripts/config --enable CONFIG_DAMON_PADDR+ scripts/config --enable CONFIG_DAMON_RECLAIM+ fi++ if [ -n "$_use_page_check" ]; then+ echo "Enable Page Table Check"+ scripts/config --enable ARCH_SUPPORTS_PAGE_TABLE_CHECK+ scripts/config --enable CONFIG_PAGE_TABLE_CHECK+ scripts/config --enable CONFIG_PAGE_TABLE_CHECK_ENFORCED+ fi++ ### Enable Linux Random Number Generator+ if [ -n "$_lrng_enable" ]; then+ echo "Enabling Linux Random Number Generator ..."+ echo "Enabling Linux Random Number Generator with pfkernel config..."+ scripts/config --enable CONFIG_LRNG+ scripts/config --enable CONFIG_LRNG_OVERSAMPLE_ENTROPY_SOURCES+ scripts/config --set-val CONFIG_CONFIG_LRNG_OVERSAMPLE_ES_BITS 64+ scripts/config --set-val CONFIG_LRNG_SEED_BUFFER_INIT_ADD_BITS 128+ scripts/config --enable CONFIG_LRNG_IRQ+ scripts/config --enable CONFIG_LRNG_CONTINUOUS_COMPRESSION_ENABLED+ scripts/config --disable CONFIG_LRNG_CONTINUOUS_COMPRESSION_DISABLED+ scripts/config --enable CONFIG_LRNG_ENABLE_CONTINUOUS_COMPRESSION+ scripts/config --enable CONFIG_LRNG_SWITCHABLE_CONTINUOUS_COMPRESSION+ scripts/config --disable CONFIG_LRNG_COLLECTION_SIZE_512+ scripts/config --enable CONFIG_LRNG_COLLECTION_SIZE_1024+ scripts/config --disable CONFIG_LRNG_COLLECTION_SIZE_2048+ scripts/config --disable CONFIG_LRNG_COLLECTION_SIZE_4096+ scripts/config --disable CONFIG_LRNG_COLLECTION_SIZE_8192+ scripts/config --set-val CONFIG_LRNG_COLLECTION_SIZE 1024+ scripts/config --enable CONFIG_LRNG_HEALTH_TESTS+ scripts/config --set-val CONFIG_LRNG_RCT_CUTOFF 31+ scripts/config --set-val CONFIG_LRNG_APT_CUTOFF 325+ scripts/config --set-val CONFIG_LRNG_IRQ_ENTROPY_RATE 256+ scripts/config --enable CONFIG_LRNG_JENT+ scripts/config --set-val CONFIG_LRNG_JENT_ENTROPY_RATE 16+ scripts/config --enable CONFIG_LRNG_CPU+ scripts/config --set-val CONFIG_LRNG_CPU_ENTROPY_RATE 8+ scripts/config --enable CONFIG_LRNG_DRNG_SWITCH+ scripts/config --enable CONFIG_LRNG_KCAPI_HASH+ scripts/config --module CONFIG_LRNG_DRBG+ scripts/config --module CONFIG_LRNG_KCAPI+ scripts/config --enable CONFIG_LRNG_TESTING_MENU+ scripts/config --disable CONFIG_LRNG_RAW_HIRES_ENTROPY+ scripts/config --disable CONFIG_LRNG_RAW_JIFFIES_ENTROPY+ scripts/config --disable CONFIG_LRNG_RAW_IRQ_ENTROPY+ scripts/config --disable CONFIG_LRNG_RAW_IRQFLAGS_ENTROPY+ scripts/config --disable CONFIG_LRNG_RAW_RETIP_ENTROPY+ scripts/config --disable CONFIG_LRNG_RAW_REGS_ENTROPY+ scripts/config --disable CONFIG_LRNG_RAW_ARRAY+ scripts/config --disable CONFIG_LRNG_IRQ_PERF+ scripts/config --disable CONFIG_LRNG_ACVT_HASH+ scripts/config --enable CONFIG_LRNG_RUNTIME_ES_CONFIG+ scripts/config --disable CONFIG_LRNG_RUNTIME_MAX_WO_RESEED_CONFIG+ scripts/config --disable CONFIG_LRNG_TEST_CPU_ES_COMPRESSION+ scripts/config --enable CONFIG_LRNG_SELFTEST+ scripts/config --disable CONFIG_LRNG_SELFTEST_PANIC+ fi++ echo "Enable LLVM LTO"+ if [ -n "$_use_llvm_lto" ]; then+ scripts/config --disable CONFIG_LTO_NONE+ fi### Selecting the ZSTD compression levelif [ "$_zstd_level" = "ultra" ]; then@@ -477,7 +487,7 @@ prepare() {scripts/config --enable CONFIG_CPU_FREQ_GOV_CONSERVATIVEscripts/config --enable CONFIG_CPU_FREQ_GOV_USERSPACEscripts/config --enable CONFIG_CPU_FREQ_GOV_SCHEDUTIL- echo "Enable AMD PSTATE v2 driver"+ echo "Enable AMD PSTATE driver"scripts/config --enable CONFIG_X86_AMD_PSTATEscripts/config --enable CONFIG_AMD_PTDMAecho "Enable Anbox"@@ -654,7 +664,7 @@ donemd5sums=('b79700122766ccf561f032eb3c8da27e''d97e86d9464dd34683f67de4d4a595c0'- '8ddae253b47a8c6e746d4510f64dad58'+ 'bc1aa14b01786f9bd4cf92d5085e9851''2627c6fcd9760b0e7a3553500db0a7e1''e3fa8507aed6ef3ce37e62f18fe9b7e1''4bfca774a71e7228f5b8bb31660521af'@@ -662,6 +672,7 @@ md5sums=('b79700122766ccf561f032eb3c8da27e''53f037488a66667220c263f92ded333d''2a8097ba46be56fbbe3967e9c34c9a0b''e708f2160dee1ef5c7dffb8a23c199d7'+ '152706f6ebbe9917c6a5955cd5447344''56ceaed8bfb44eca93298ccc5fe11ca7''67764a5824b567b49bcce19c01d4e1b3''299b176cbfc1b386d74406387e9e2d6b'@@ -674,7 +685,6 @@ md5sums=('b79700122766ccf561f032eb3c8da27e''8c354c3d1962ec6785db7f0c3fbbab03''9b6369bc4c58ad0d9195b5c204ed4b8a''c6efda5716e4ff79ebdbc963bebd851a'- '408dfabb34f2b79aa2f5044b052703db''08c84362cb916b30d9c77e35b1b3bc54''56fdf3562b041c0408d9751b7e447977''b09b84168822521426f197610727618b'