Skip to content

Archlinux Kernel based on different schedulers and some other performance improvements.

5.17.3-2

Peter Jung8ffa260c8c56
diff --git a/linux-bore/.SRCINFO b/linux-bore/.SRCINFO
index 5602a495..fbf86cfc 100755
--- a/linux-bore/.SRCINFO
+++ b/linux-bore/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = linux-bore
pkgdesc = Linux BORE scheduler Kernel by CachyOS with other patches and improvements
pkgver = 5.17.3
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/CachyOS/linux-cachyos
arch = x86_64
arch = x86_64_v3
@@ -43,12 +43,13 @@ pkgbase = linux-bore
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0001-hwmon.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0001-MG-LRU.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0001-spf-lru-patches.patch
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0001-uksm.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0001-rcu.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0001-v4l2loopback.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0001-xanmod.patch
source = auto-cpu-optimization.sh
sha256sums = 32d0a8e366b87e1cbde951b9f7a01287546670ba60fac35cccfc8a7c005a162c
- sha256sums = 4c0791ba64d611421f76d7729ae3394d403351149da3eaa733e82d8f1b1f65b6
+ sha256sums = d336c4c1123208ba055055db08f24bfe1c9ae9785f3dbe58b7bb6b60fa6786c9
sha256sums = 9bcdb1bff0acc3ed43c985fb04e5df01aff17d16bdc4686e0daae0d7326230be
sha256sums = df466f91e9560e258da5816f037760e511172e789dee01c267ac7213706919b9
sha256sums = b81d81435984662cc5948e5e26389402d6803ceb4cd3fe346f632fdf4c81f9ed
@@ -64,8 +65,9 @@ pkgbase = linux-bore
sha256sums = ccdc989e3600ec098060696fc87168b655ebbaaaac00d2b424f56c1697c50abb
sha256sums = 27b29c0de9ac4e327f76d060c747196c59536754cb2288c7d121e700d9a976c8
sha256sums = c6e3fe5b1736c343f25632a23318c91ccc8b84e896ce7a0a1f7eb2a05e7a596f
- sha256sums = 0d91172d863ffd56a676619632075b03a18416e55ed3c66f79dfcbac19eefedb
+ sha256sums = 0682d64dd5be9699ccfbd8a2c4f39ab899f6d13e18e5e0f1ca30b282606ac958
sha256sums = 0c71a8f1cf99f01d2f6fdafde8b5b96e1f56b686b505aa2e18396855966c11f9
+ sha256sums = eccb27352c4e87998900a9b8b0e0ec6322c33f542643085a20db45a09c78fdba
sha256sums = 91b8eebde0f0704808b16e0c7a64be791d9c93319ecb05cb4cdb35dcce7387f3
sha256sums = 65d7b7fe507302e77affbfdd2e92991ae37c413c17d6b96559b5794487421d58
sha256sums = aa87843e5e44e0f5ad20e3acacccc54e9931ae5dce6bb9a357731deb19d182b0
diff --git a/linux-bore/PKGBUILD b/linux-bore/PKGBUILD
index ff658240..ef2c59cd 100644
--- a/linux-bore/PKGBUILD
+++ b/linux-bore/PKGBUILD
@@ -64,9 +64,6 @@ _mq_deadline_disable=y
### Disable Kyber I/O scheduler
_kyber_disable=y
-### Enable protect file mappings under memory pressure
-_mm_protect=
-
### Enable multigenerational LRU
_lru_enable=y
@@ -130,7 +127,7 @@ _srcname=linux-${_stable}
#_srcname=linux-${_major}
arch=(x86_64 x86_64_v3)
pkgdesc='Linux BORE scheduler Kernel by CachyOS with other patches and improvements'
-pkgrel=1
+pkgrel=2
arch=('x86_64' 'x86_64_v3')
url="https://github.com/CachyOS/linux-cachyos"
license=('GPL2')
@@ -163,6 +160,7 @@ source=(
"${_patchsource}/0001-hwmon.patch"
"${_patchsource}/0001-MG-LRU.patch"
"${_patchsource}/0001-spf-lru-patches.patch"
+ "${_patchsource}/0001-uksm.patch"
"${_patchsource}/0001-rcu.patch"
"${_patchsource}/0001-v4l2loopback.patch"
"${_patchsource}/0001-xanmod.patch"
@@ -368,18 +366,6 @@ prepare() {
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 SPF
if [ -n "$_spf_enable" ]; then
echo "Enabling multigenerational LRU..."
@@ -684,7 +670,7 @@ for _p in "${pkgname[@]}"; do
done
sha256sums=('32d0a8e366b87e1cbde951b9f7a01287546670ba60fac35cccfc8a7c005a162c'
- '4c0791ba64d611421f76d7729ae3394d403351149da3eaa733e82d8f1b1f65b6'
+ 'd336c4c1123208ba055055db08f24bfe1c9ae9785f3dbe58b7bb6b60fa6786c9'
'9bcdb1bff0acc3ed43c985fb04e5df01aff17d16bdc4686e0daae0d7326230be'
'df466f91e9560e258da5816f037760e511172e789dee01c267ac7213706919b9'
'b81d81435984662cc5948e5e26389402d6803ceb4cd3fe346f632fdf4c81f9ed'
@@ -700,8 +686,9 @@ sha256sums=('32d0a8e366b87e1cbde951b9f7a01287546670ba60fac35cccfc8a7c005a162c'
'ccdc989e3600ec098060696fc87168b655ebbaaaac00d2b424f56c1697c50abb'
'27b29c0de9ac4e327f76d060c747196c59536754cb2288c7d121e700d9a976c8'
'c6e3fe5b1736c343f25632a23318c91ccc8b84e896ce7a0a1f7eb2a05e7a596f'
- '0d91172d863ffd56a676619632075b03a18416e55ed3c66f79dfcbac19eefedb'
+ '0682d64dd5be9699ccfbd8a2c4f39ab899f6d13e18e5e0f1ca30b282606ac958'
'0c71a8f1cf99f01d2f6fdafde8b5b96e1f56b686b505aa2e18396855966c11f9'
+ 'eccb27352c4e87998900a9b8b0e0ec6322c33f542643085a20db45a09c78fdba'
'91b8eebde0f0704808b16e0c7a64be791d9c93319ecb05cb4cdb35dcce7387f3'
'65d7b7fe507302e77affbfdd2e92991ae37c413c17d6b96559b5794487421d58'
'aa87843e5e44e0f5ad20e3acacccc54e9931ae5dce6bb9a357731deb19d182b0'
diff --git a/linux-bore/config b/linux-bore/config
index 3b6451ce..b55e9308 100644
--- a/linux-bore/config
+++ b/linux-bore/config
@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
-# Linux/x86 5.17.2 Kernel Configuration
+# Linux/x86 5.17.3 Kernel Configuration
#
CONFIG_CC_VERSION_TEXT="gcc (GCC) 11.2.0"
CONFIG_CC_IS_GCC=y
@@ -1061,6 +1061,8 @@ CONFIG_PHYS_ADDR_T_64BIT=y
CONFIG_VIRT_TO_BUS=y
CONFIG_MMU_NOTIFIER=y
CONFIG_KSM=y
+CONFIG_UKSM=y
+# CONFIG_KSM_LEGACY is not set
CONFIG_DEFAULT_MMAP_MIN_ADDR=65536
CONFIG_ARCH_SUPPORTS_MEMORY_FAILURE=y
CONFIG_MEMORY_FAILURE=y
diff --git a/linux-cachyos-bmq/.SRCINFO b/linux-cachyos-bmq/.SRCINFO
index 4989e9a9..a1e46b08 100755
--- a/linux-cachyos-bmq/.SRCINFO
+++ b/linux-cachyos-bmq/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = linux-cachyos-bmq
pkgdesc = Linux BMQ scheduler Kernel by CachyOS with other patches and improvements
pkgver = 5.17.3
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/CachyOS/linux-cachyos
arch = x86_64
arch = x86_64_v3
@@ -43,12 +43,13 @@ pkgbase = linux-cachyos-bmq
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0001-hwmon.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0001-MG-LRU.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0001-spf-lru-patches.patch
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0001-uksm.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0001-rcu.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0001-v4l2loopback.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0001-xanmod.patch
source = auto-cpu-optimization.sh
sha256sums = 32d0a8e366b87e1cbde951b9f7a01287546670ba60fac35cccfc8a7c005a162c
- sha256sums = e7dc7b8f42990b667d7226cd9d07b1189e1355cbfdbe860016688763e6e28b8b
+ sha256sums = 2326154da7383bd6a3b84e27a2dbc36d7bf8c533cda438fac7e08abefb71e9b0
sha256sums = ba65acd3f1168a7479e3665b5b13f7d1066e713eadb5a0e5110423ba97d7ccd3
sha256sums = df466f91e9560e258da5816f037760e511172e789dee01c267ac7213706919b9
sha256sums = b81d81435984662cc5948e5e26389402d6803ceb4cd3fe346f632fdf4c81f9ed
@@ -64,8 +65,9 @@ pkgbase = linux-cachyos-bmq
sha256sums = ccdc989e3600ec098060696fc87168b655ebbaaaac00d2b424f56c1697c50abb
sha256sums = 27b29c0de9ac4e327f76d060c747196c59536754cb2288c7d121e700d9a976c8
sha256sums = c6e3fe5b1736c343f25632a23318c91ccc8b84e896ce7a0a1f7eb2a05e7a596f
- sha256sums = 0d91172d863ffd56a676619632075b03a18416e55ed3c66f79dfcbac19eefedb
+ sha256sums = 0682d64dd5be9699ccfbd8a2c4f39ab899f6d13e18e5e0f1ca30b282606ac958
sha256sums = 0c71a8f1cf99f01d2f6fdafde8b5b96e1f56b686b505aa2e18396855966c11f9
+ sha256sums = eccb27352c4e87998900a9b8b0e0ec6322c33f542643085a20db45a09c78fdba
sha256sums = 91b8eebde0f0704808b16e0c7a64be791d9c93319ecb05cb4cdb35dcce7387f3
sha256sums = 65d7b7fe507302e77affbfdd2e92991ae37c413c17d6b96559b5794487421d58
sha256sums = aa87843e5e44e0f5ad20e3acacccc54e9931ae5dce6bb9a357731deb19d182b0
diff --git a/linux-cachyos-bmq/PKGBUILD b/linux-cachyos-bmq/PKGBUILD
index 681b2069..e3d659c1 100644
--- a/linux-cachyos-bmq/PKGBUILD
+++ b/linux-cachyos-bmq/PKGBUILD
@@ -135,7 +135,7 @@ _srcname=linux-${_stable}
#_srcname=linux-${_major}
arch=(x86_64 x86_64_v3)
pkgdesc='Linux BMQ scheduler Kernel by CachyOS with other patches and improvements'
-pkgrel=1
+pkgrel=2
arch=('x86_64' 'x86_64_v3')
url="https://github.com/CachyOS/linux-cachyos"
license=('GPL2')
@@ -168,6 +168,7 @@ source=(
"${_patchsource}/0001-hwmon.patch"
"${_patchsource}/0001-MG-LRU.patch"
"${_patchsource}/0001-spf-lru-patches.patch"
+ "${_patchsource}/0001-uksm.patch"
"${_patchsource}/0001-rcu.patch"
"${_patchsource}/0001-v4l2loopback.patch"
"${_patchsource}/0001-xanmod.patch"
@@ -371,19 +372,6 @@ prepare() {
scripts/config --module CONFIG_NETFILTER_XT_TARGET_FULLCONENAT
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 SPF
if [ -n "$_spf_enable" ]; then
echo "Enabling multigenerational LRU..."
@@ -688,7 +676,7 @@ for _p in "${pkgname[@]}"; do
done
sha256sums=('32d0a8e366b87e1cbde951b9f7a01287546670ba60fac35cccfc8a7c005a162c'
- 'e7dc7b8f42990b667d7226cd9d07b1189e1355cbfdbe860016688763e6e28b8b'
+ '2326154da7383bd6a3b84e27a2dbc36d7bf8c533cda438fac7e08abefb71e9b0'
'ba65acd3f1168a7479e3665b5b13f7d1066e713eadb5a0e5110423ba97d7ccd3'
'df466f91e9560e258da5816f037760e511172e789dee01c267ac7213706919b9'
'b81d81435984662cc5948e5e26389402d6803ceb4cd3fe346f632fdf4c81f9ed'
@@ -704,8 +692,9 @@ sha256sums=('32d0a8e366b87e1cbde951b9f7a01287546670ba60fac35cccfc8a7c005a162c'
'ccdc989e3600ec098060696fc87168b655ebbaaaac00d2b424f56c1697c50abb'
'27b29c0de9ac4e327f76d060c747196c59536754cb2288c7d121e700d9a976c8'
'c6e3fe5b1736c343f25632a23318c91ccc8b84e896ce7a0a1f7eb2a05e7a596f'
- '0d91172d863ffd56a676619632075b03a18416e55ed3c66f79dfcbac19eefedb'
+ '0682d64dd5be9699ccfbd8a2c4f39ab899f6d13e18e5e0f1ca30b282606ac958'
'0c71a8f1cf99f01d2f6fdafde8b5b96e1f56b686b505aa2e18396855966c11f9'
+ 'eccb27352c4e87998900a9b8b0e0ec6322c33f542643085a20db45a09c78fdba'
'91b8eebde0f0704808b16e0c7a64be791d9c93319ecb05cb4cdb35dcce7387f3'
'65d7b7fe507302e77affbfdd2e92991ae37c413c17d6b96559b5794487421d58'
'aa87843e5e44e0f5ad20e3acacccc54e9931ae5dce6bb9a357731deb19d182b0'
diff --git a/linux-cachyos-bmq/config b/linux-cachyos-bmq/config
index 37c4c095..9f9c2b1c 100644
--- a/linux-cachyos-bmq/config
+++ b/linux-cachyos-bmq/config
@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
-# Linux/x86 5.17.0 Kernel Configuration
+# Linux/x86 5.17.2 Kernel Configuration
#
CONFIG_CC_VERSION_TEXT="gcc (GCC) 11.2.0"
CONFIG_CC_IS_GCC=y
@@ -1061,6 +1061,8 @@ CONFIG_PHYS_ADDR_T_64BIT=y
CONFIG_VIRT_TO_BUS=y
CONFIG_MMU_NOTIFIER=y
CONFIG_KSM=y
+CONFIG_UKSM=y
+# CONFIG_KSM_LEGACY is not set
CONFIG_DEFAULT_MMAP_MIN_ADDR=65536
CONFIG_ARCH_SUPPORTS_MEMORY_FAILURE=y
CONFIG_MEMORY_FAILURE=y
diff --git a/linux-cachyos-bore/.SRCINFO b/linux-cachyos-bore/.SRCINFO
index 71d1b32b..3b7c0e8b 100755
--- a/linux-cachyos-bore/.SRCINFO
+++ b/linux-cachyos-bore/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = linux-cachyos-bore
pkgdesc = Linux BORE scheduler Kernel by CachyOS with other patches and improvements
pkgver = 5.17.3
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/CachyOS/linux-cachyos
arch = x86_64
arch = x86_64_v3
@@ -43,12 +43,13 @@ pkgbase = linux-cachyos-bore
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0001-hwmon.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0001-MG-LRU.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0001-spf-lru-patches.patch
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0001-uksm.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0001-rcu.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0001-v4l2loopback.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0001-xanmod.patch
source = auto-cpu-optimization.sh
sha256sums = 32d0a8e366b87e1cbde951b9f7a01287546670ba60fac35cccfc8a7c005a162c
- sha256sums = e7dc7b8f42990b667d7226cd9d07b1189e1355cbfdbe860016688763e6e28b8b
+ sha256sums = 2326154da7383bd6a3b84e27a2dbc36d7bf8c533cda438fac7e08abefb71e9b0
sha256sums = 9bcdb1bff0acc3ed43c985fb04e5df01aff17d16bdc4686e0daae0d7326230be
sha256sums = df466f91e9560e258da5816f037760e511172e789dee01c267ac7213706919b9
sha256sums = b81d81435984662cc5948e5e26389402d6803ceb4cd3fe346f632fdf4c81f9ed
@@ -64,8 +65,9 @@ pkgbase = linux-cachyos-bore
sha256sums = ccdc989e3600ec098060696fc87168b655ebbaaaac00d2b424f56c1697c50abb
sha256sums = 27b29c0de9ac4e327f76d060c747196c59536754cb2288c7d121e700d9a976c8
sha256sums = c6e3fe5b1736c343f25632a23318c91ccc8b84e896ce7a0a1f7eb2a05e7a596f
- sha256sums = 0d91172d863ffd56a676619632075b03a18416e55ed3c66f79dfcbac19eefedb
+ sha256sums = 0682d64dd5be9699ccfbd8a2c4f39ab899f6d13e18e5e0f1ca30b282606ac958
sha256sums = 0c71a8f1cf99f01d2f6fdafde8b5b96e1f56b686b505aa2e18396855966c11f9
+ sha256sums = eccb27352c4e87998900a9b8b0e0ec6322c33f542643085a20db45a09c78fdba
sha256sums = 91b8eebde0f0704808b16e0c7a64be791d9c93319ecb05cb4cdb35dcce7387f3
sha256sums = 65d7b7fe507302e77affbfdd2e92991ae37c413c17d6b96559b5794487421d58
sha256sums = aa87843e5e44e0f5ad20e3acacccc54e9931ae5dce6bb9a357731deb19d182b0
diff --git a/linux-cachyos-bore/PKGBUILD b/linux-cachyos-bore/PKGBUILD
index cdc48f14..5bab2e69 100644
--- a/linux-cachyos-bore/PKGBUILD
+++ b/linux-cachyos-bore/PKGBUILD
@@ -132,7 +132,7 @@ _srcname=linux-${_stable}
#_srcname=linux-${_major}
arch=(x86_64 x86_64_v3)
pkgdesc='Linux BORE scheduler Kernel by CachyOS with other patches and improvements'
-pkgrel=1
+pkgrel=2
arch=('x86_64' 'x86_64_v3')
url="https://github.com/CachyOS/linux-cachyos"
license=('GPL2')
@@ -165,6 +165,7 @@ source=(
"${_patchsource}/0001-hwmon.patch"
"${_patchsource}/0001-MG-LRU.patch"
"${_patchsource}/0001-spf-lru-patches.patch"
+ "${_patchsource}/0001-uksm.patch"
"${_patchsource}/0001-rcu.patch"
"${_patchsource}/0001-v4l2loopback.patch"
"${_patchsource}/0001-xanmod.patch"
@@ -369,19 +370,6 @@ prepare() {
scripts/config --module CONFIG_NETFILTER_XT_TARGET_FULLCONENAT
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 SPF
if [ -n "$_spf_enable" ]; then
echo "Enabling multigenerational LRU..."
@@ -686,7 +674,7 @@ for _p in "${pkgname[@]}"; do
done
sha256sums=('32d0a8e366b87e1cbde951b9f7a01287546670ba60fac35cccfc8a7c005a162c'
- 'e7dc7b8f42990b667d7226cd9d07b1189e1355cbfdbe860016688763e6e28b8b'
+ '2326154da7383bd6a3b84e27a2dbc36d7bf8c533cda438fac7e08abefb71e9b0'
'9bcdb1bff0acc3ed43c985fb04e5df01aff17d16bdc4686e0daae0d7326230be'
'df466f91e9560e258da5816f037760e511172e789dee01c267ac7213706919b9'
'b81d81435984662cc5948e5e26389402d6803ceb4cd3fe346f632fdf4c81f9ed'
@@ -702,8 +690,9 @@ sha256sums=('32d0a8e366b87e1cbde951b9f7a01287546670ba60fac35cccfc8a7c005a162c'
'ccdc989e3600ec098060696fc87168b655ebbaaaac00d2b424f56c1697c50abb'
'27b29c0de9ac4e327f76d060c747196c59536754cb2288c7d121e700d9a976c8'
'c6e3fe5b1736c343f25632a23318c91ccc8b84e896ce7a0a1f7eb2a05e7a596f'
- '0d91172d863ffd56a676619632075b03a18416e55ed3c66f79dfcbac19eefedb'
+ '0682d64dd5be9699ccfbd8a2c4f39ab899f6d13e18e5e0f1ca30b282606ac958'
'0c71a8f1cf99f01d2f6fdafde8b5b96e1f56b686b505aa2e18396855966c11f9'
+ 'eccb27352c4e87998900a9b8b0e0ec6322c33f542643085a20db45a09c78fdba'
'91b8eebde0f0704808b16e0c7a64be791d9c93319ecb05cb4cdb35dcce7387f3'
'65d7b7fe507302e77affbfdd2e92991ae37c413c17d6b96559b5794487421d58'
'aa87843e5e44e0f5ad20e3acacccc54e9931ae5dce6bb9a357731deb19d182b0'
diff --git a/linux-cachyos-bore/config b/linux-cachyos-bore/config
index 37c4c095..9f9c2b1c 100644
--- a/linux-cachyos-bore/config
+++ b/linux-cachyos-bore/config
@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
-# Linux/x86 5.17.0 Kernel Configuration
+# Linux/x86 5.17.2 Kernel Configuration
#
CONFIG_CC_VERSION_TEXT="gcc (GCC) 11.2.0"
CONFIG_CC_IS_GCC=y
@@ -1061,6 +1061,8 @@ CONFIG_PHYS_ADDR_T_64BIT=y
CONFIG_VIRT_TO_BUS=y
CONFIG_MMU_NOTIFIER=y
CONFIG_KSM=y
+CONFIG_UKSM=y
+# CONFIG_KSM_LEGACY is not set
CONFIG_DEFAULT_MMAP_MIN_ADDR=65536
CONFIG_ARCH_SUPPORTS_MEMORY_FAILURE=y
CONFIG_MEMORY_FAILURE=y
diff --git a/linux-cachyos-cacule/.SRCINFO b/linux-cachyos-cacule/.SRCINFO
index 06d290be..1bddb47a 100755
--- a/linux-cachyos-cacule/.SRCINFO
+++ b/linux-cachyos-cacule/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = linux-cachyos-cacule
pkgdesc = Linux cacULE scheduler Kernel by CachyOS with other patches and improvements
pkgver = 5.17.3
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/CachyOS/linux-cachyos
arch = x86_64
arch = x86_64_v3
@@ -43,12 +43,13 @@ pkgbase = linux-cachyos-cacule
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0001-hwmon.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0001-MG-LRU.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0001-spf-lru-patches.patch
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0001-uksm.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0001-rcu.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0001-v4l2loopback.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0001-xanmod.patch
source = auto-cpu-optimization.sh
sha256sums = 32d0a8e366b87e1cbde951b9f7a01287546670ba60fac35cccfc8a7c005a162c
- sha256sums = e7dc7b8f42990b667d7226cd9d07b1189e1355cbfdbe860016688763e6e28b8b
+ sha256sums = 2326154da7383bd6a3b84e27a2dbc36d7bf8c533cda438fac7e08abefb71e9b0
sha256sums = 33c0d70410ac7e0fccce5796aacea76838b048c79bbdc92eaf2fdbb5eabd4e0d
sha256sums = df466f91e9560e258da5816f037760e511172e789dee01c267ac7213706919b9
sha256sums = b81d81435984662cc5948e5e26389402d6803ceb4cd3fe346f632fdf4c81f9ed
@@ -64,8 +65,9 @@ pkgbase = linux-cachyos-cacule
sha256sums = ccdc989e3600ec098060696fc87168b655ebbaaaac00d2b424f56c1697c50abb
sha256sums = 27b29c0de9ac4e327f76d060c747196c59536754cb2288c7d121e700d9a976c8
sha256sums = c6e3fe5b1736c343f25632a23318c91ccc8b84e896ce7a0a1f7eb2a05e7a596f
- sha256sums = 0d91172d863ffd56a676619632075b03a18416e55ed3c66f79dfcbac19eefedb
+ sha256sums = 0682d64dd5be9699ccfbd8a2c4f39ab899f6d13e18e5e0f1ca30b282606ac958
sha256sums = 0c71a8f1cf99f01d2f6fdafde8b5b96e1f56b686b505aa2e18396855966c11f9
+ sha256sums = eccb27352c4e87998900a9b8b0e0ec6322c33f542643085a20db45a09c78fdba
sha256sums = 91b8eebde0f0704808b16e0c7a64be791d9c93319ecb05cb4cdb35dcce7387f3
sha256sums = 65d7b7fe507302e77affbfdd2e92991ae37c413c17d6b96559b5794487421d58
sha256sums = aa87843e5e44e0f5ad20e3acacccc54e9931ae5dce6bb9a357731deb19d182b0
diff --git a/linux-cachyos-cacule/PKGBUILD b/linux-cachyos-cacule/PKGBUILD
index fe1ed428..7e4dd2b0 100644
--- a/linux-cachyos-cacule/PKGBUILD
+++ b/linux-cachyos-cacule/PKGBUILD
@@ -64,9 +64,6 @@ _mq_deadline_disable=y
### Disable Kyber I/O scheduler
_kyber_disable=y
-### Enable protect file mappings under memory pressure
-_mm_protect=
-
### Enable multigenerational LRU
_lru_enable=y
@@ -133,7 +130,7 @@ _srcname=linux-${_stable}
#_srcname=linux-${_major}
arch=(x86_64 x86_64_v3)
pkgdesc='Linux cacULE scheduler Kernel by CachyOS with other patches and improvements'
-pkgrel=1
+pkgrel=2
arch=('x86_64' 'x86_64_v3')
url="https://github.com/CachyOS/linux-cachyos"
license=('GPL2')
@@ -166,6 +163,7 @@ source=(
"${_patchsource}/0001-hwmon.patch"
"${_patchsource}/0001-MG-LRU.patch"
"${_patchsource}/0001-spf-lru-patches.patch"
+ "${_patchsource}/0001-uksm.patch"
"${_patchsource}/0001-rcu.patch"
"${_patchsource}/0001-v4l2loopback.patch"
"${_patchsource}/0001-xanmod.patch"
@@ -371,18 +369,6 @@ prepare() {
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 SPF
if [ -n "$_spf_enable" ]; then
echo "Enabling multigenerational LRU..."
@@ -688,7 +674,7 @@ for _p in "${pkgname[@]}"; do
done
sha256sums=('32d0a8e366b87e1cbde951b9f7a01287546670ba60fac35cccfc8a7c005a162c'
- 'e7dc7b8f42990b667d7226cd9d07b1189e1355cbfdbe860016688763e6e28b8b'
+ '2326154da7383bd6a3b84e27a2dbc36d7bf8c533cda438fac7e08abefb71e9b0'
'33c0d70410ac7e0fccce5796aacea76838b048c79bbdc92eaf2fdbb5eabd4e0d'
'df466f91e9560e258da5816f037760e511172e789dee01c267ac7213706919b9'
'b81d81435984662cc5948e5e26389402d6803ceb4cd3fe346f632fdf4c81f9ed'
@@ -704,8 +690,9 @@ sha256sums=('32d0a8e366b87e1cbde951b9f7a01287546670ba60fac35cccfc8a7c005a162c'
'ccdc989e3600ec098060696fc87168b655ebbaaaac00d2b424f56c1697c50abb'
'27b29c0de9ac4e327f76d060c747196c59536754cb2288c7d121e700d9a976c8'
'c6e3fe5b1736c343f25632a23318c91ccc8b84e896ce7a0a1f7eb2a05e7a596f'
- '0d91172d863ffd56a676619632075b03a18416e55ed3c66f79dfcbac19eefedb'
+ '0682d64dd5be9699ccfbd8a2c4f39ab899f6d13e18e5e0f1ca30b282606ac958'
'0c71a8f1cf99f01d2f6fdafde8b5b96e1f56b686b505aa2e18396855966c11f9'
+ 'eccb27352c4e87998900a9b8b0e0ec6322c33f542643085a20db45a09c78fdba'
'91b8eebde0f0704808b16e0c7a64be791d9c93319ecb05cb4cdb35dcce7387f3'
'65d7b7fe507302e77affbfdd2e92991ae37c413c17d6b96559b5794487421d58'
'aa87843e5e44e0f5ad20e3acacccc54e9931ae5dce6bb9a357731deb19d182b0'
diff --git a/linux-cachyos-cacule/config b/linux-cachyos-cacule/config
index 37c4c095..9f9c2b1c 100644
--- a/linux-cachyos-cacule/config
+++ b/linux-cachyos-cacule/config
@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
-# Linux/x86 5.17.0 Kernel Configuration
+# Linux/x86 5.17.2 Kernel Configuration
#
CONFIG_CC_VERSION_TEXT="gcc (GCC) 11.2.0"
CONFIG_CC_IS_GCC=y
@@ -1061,6 +1061,8 @@ CONFIG_PHYS_ADDR_T_64BIT=y
CONFIG_VIRT_TO_BUS=y
CONFIG_MMU_NOTIFIER=y
CONFIG_KSM=y
+CONFIG_UKSM=y
+# CONFIG_KSM_LEGACY is not set
CONFIG_DEFAULT_MMAP_MIN_ADDR=65536
CONFIG_ARCH_SUPPORTS_MEMORY_FAILURE=y
CONFIG_MEMORY_FAILURE=y
diff --git a/linux-cachyos-pds/.SRCINFO b/linux-cachyos-pds/.SRCINFO
index ca69f8da..af9aed71 100755
--- a/linux-cachyos-pds/.SRCINFO
+++ b/linux-cachyos-pds/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = linux-cachyos-pds
pkgdesc = Linux PDS scheduler Kernel by CachyOS with other patches and improvements
pkgver = 5.17.3
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/CachyOS/linux-cachyos
arch = x86_64
arch = x86_64_v3
@@ -43,12 +43,13 @@ pkgbase = linux-cachyos-pds
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0001-hwmon.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0001-MG-LRU.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0001-spf-lru-patches.patch
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0001-uksm.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0001-rcu.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0001-v4l2loopback.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0001-xanmod.patch
source = auto-cpu-optimization.sh
sha256sums = 32d0a8e366b87e1cbde951b9f7a01287546670ba60fac35cccfc8a7c005a162c
- sha256sums = e7dc7b8f42990b667d7226cd9d07b1189e1355cbfdbe860016688763e6e28b8b
+ sha256sums = 2326154da7383bd6a3b84e27a2dbc36d7bf8c533cda438fac7e08abefb71e9b0
sha256sums = ba65acd3f1168a7479e3665b5b13f7d1066e713eadb5a0e5110423ba97d7ccd3
sha256sums = df466f91e9560e258da5816f037760e511172e789dee01c267ac7213706919b9
sha256sums = b81d81435984662cc5948e5e26389402d6803ceb4cd3fe346f632fdf4c81f9ed
@@ -64,8 +65,9 @@ pkgbase = linux-cachyos-pds
sha256sums = ccdc989e3600ec098060696fc87168b655ebbaaaac00d2b424f56c1697c50abb
sha256sums = 27b29c0de9ac4e327f76d060c747196c59536754cb2288c7d121e700d9a976c8
sha256sums = c6e3fe5b1736c343f25632a23318c91ccc8b84e896ce7a0a1f7eb2a05e7a596f
- sha256sums = 0d91172d863ffd56a676619632075b03a18416e55ed3c66f79dfcbac19eefedb
+ sha256sums = 0682d64dd5be9699ccfbd8a2c4f39ab899f6d13e18e5e0f1ca30b282606ac958
sha256sums = 0c71a8f1cf99f01d2f6fdafde8b5b96e1f56b686b505aa2e18396855966c11f9
+ sha256sums = eccb27352c4e87998900a9b8b0e0ec6322c33f542643085a20db45a09c78fdba
sha256sums = 91b8eebde0f0704808b16e0c7a64be791d9c93319ecb05cb4cdb35dcce7387f3
sha256sums = 65d7b7fe507302e77affbfdd2e92991ae37c413c17d6b96559b5794487421d58
sha256sums = aa87843e5e44e0f5ad20e3acacccc54e9931ae5dce6bb9a357731deb19d182b0
diff --git a/linux-cachyos-pds/PKGBUILD b/linux-cachyos-pds/PKGBUILD
index 089c3183..1ebfdffa 100644
--- a/linux-cachyos-pds/PKGBUILD
+++ b/linux-cachyos-pds/PKGBUILD
@@ -64,9 +64,6 @@ _mq_deadline_disable=y
### Disable Kyber I/O scheduler
_kyber_disable=y
-### Enable protect file mappings under memory pressure
-_mm_protect=
-
### Enable multigenerational LRU
_lru_enable=y
@@ -131,7 +128,7 @@ _srcname=linux-${_stable}
#_srcname=linux-${_major}
arch=(x86_64 x86_64_v3)
pkgdesc='Linux PDS scheduler Kernel by CachyOS with other patches and improvements'
-pkgrel=1
+pkgrel=2
arch=('x86_64' 'x86_64_v3')
url="https://github.com/CachyOS/linux-cachyos"
license=('GPL2')
@@ -164,6 +161,7 @@ source=(
"${_patchsource}/0001-hwmon.patch"
"${_patchsource}/0001-MG-LRU.patch"
"${_patchsource}/0001-spf-lru-patches.patch"
+ "${_patchsource}/0001-uksm.patch"
"${_patchsource}/0001-rcu.patch"
"${_patchsource}/0001-v4l2loopback.patch"
"${_patchsource}/0001-xanmod.patch"
@@ -367,19 +365,6 @@ prepare() {
scripts/config --module CONFIG_NETFILTER_XT_TARGET_FULLCONENAT
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 SPF
if [ -n "$_spf_enable" ]; then
echo "Enabling multigenerational LRU..."
@@ -684,7 +669,7 @@ for _p in "${pkgname[@]}"; do
done
sha256sums=('32d0a8e366b87e1cbde951b9f7a01287546670ba60fac35cccfc8a7c005a162c'
- 'e7dc7b8f42990b667d7226cd9d07b1189e1355cbfdbe860016688763e6e28b8b'
+ '2326154da7383bd6a3b84e27a2dbc36d7bf8c533cda438fac7e08abefb71e9b0'
'ba65acd3f1168a7479e3665b5b13f7d1066e713eadb5a0e5110423ba97d7ccd3'
'df466f91e9560e258da5816f037760e511172e789dee01c267ac7213706919b9'
'b81d81435984662cc5948e5e26389402d6803ceb4cd3fe346f632fdf4c81f9ed'
@@ -700,8 +685,9 @@ sha256sums=('32d0a8e366b87e1cbde951b9f7a01287546670ba60fac35cccfc8a7c005a162c'
'ccdc989e3600ec098060696fc87168b655ebbaaaac00d2b424f56c1697c50abb'
'27b29c0de9ac4e327f76d060c747196c59536754cb2288c7d121e700d9a976c8'
'c6e3fe5b1736c343f25632a23318c91ccc8b84e896ce7a0a1f7eb2a05e7a596f'
- '0d91172d863ffd56a676619632075b03a18416e55ed3c66f79dfcbac19eefedb'
+ '0682d64dd5be9699ccfbd8a2c4f39ab899f6d13e18e5e0f1ca30b282606ac958'
'0c71a8f1cf99f01d2f6fdafde8b5b96e1f56b686b505aa2e18396855966c11f9'
+ 'eccb27352c4e87998900a9b8b0e0ec6322c33f542643085a20db45a09c78fdba'
'91b8eebde0f0704808b16e0c7a64be791d9c93319ecb05cb4cdb35dcce7387f3'
'65d7b7fe507302e77affbfdd2e92991ae37c413c17d6b96559b5794487421d58'
'aa87843e5e44e0f5ad20e3acacccc54e9931ae5dce6bb9a357731deb19d182b0'
diff --git a/linux-cachyos-pds/config b/linux-cachyos-pds/config
index 37c4c095..9f9c2b1c 100644
--- a/linux-cachyos-pds/config
+++ b/linux-cachyos-pds/config
@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
-# Linux/x86 5.17.0 Kernel Configuration
+# Linux/x86 5.17.2 Kernel Configuration
#
CONFIG_CC_VERSION_TEXT="gcc (GCC) 11.2.0"
CONFIG_CC_IS_GCC=y
@@ -1061,6 +1061,8 @@ CONFIG_PHYS_ADDR_T_64BIT=y
CONFIG_VIRT_TO_BUS=y
CONFIG_MMU_NOTIFIER=y
CONFIG_KSM=y
+CONFIG_UKSM=y
+# CONFIG_KSM_LEGACY is not set
CONFIG_DEFAULT_MMAP_MIN_ADDR=65536
CONFIG_ARCH_SUPPORTS_MEMORY_FAILURE=y
CONFIG_MEMORY_FAILURE=y
diff --git a/linux-cachyos-rc/.SRCINFO b/linux-cachyos-rc/.SRCINFO
index dc0e0217..ce345cef 100755
--- a/linux-cachyos-rc/.SRCINFO
+++ b/linux-cachyos-rc/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = linux-cachyos-rc
pkgdesc = Linux CFS scheduler Kernel by CachyOS and with some other patches and other improvements
pkgver = 5.18.rc2
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/CachyOS/linux-cachyos
arch = x86_64
arch = x86_64_v3
@@ -34,6 +34,9 @@ pkgbase = linux-cachyos-rc
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.18/0006-fixes-miscellaneous.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.18/0008-xanmod.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.18/0009-MG-LRU.patch
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.18/0009-MG-LRU.patch
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.18/0010-spf-lru-patches.patch
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.18/0011-uksm.patch
source = auto-cpu-optimization.sh
sha256sums = 427f32cc7ed4495781dd75f934a98d5351f4d0e4451609958f147db37e5449f1
sha256sums = 788b05974c28d1166226a49e2c8dc67079321e5e44a5a0e164ad4bcc27edb809
diff --git a/linux-cachyos-rc/PKGBUILD b/linux-cachyos-rc/PKGBUILD
index e79dc92c..742f7288 100644
--- a/linux-cachyos-rc/PKGBUILD
+++ b/linux-cachyos-rc/PKGBUILD
@@ -64,8 +64,6 @@ _mq_deadline_disable=y
### Disable Kyber I/O scheduler
_kyber_disable=y
-### Enable protect file mappings under memory pressure
-_mm_protect=
### Enable multigenerational LRU
_lru_enable=y
@@ -73,7 +71,7 @@ _lru_enable=y
### Enable DAMON
_damon=y
-_spf_enable=
+_spf_enable=y
### Enable Linux Random Number Generator
_lrng_enable=y
@@ -132,7 +130,7 @@ _srcname=linux-${_stable}
#_srcname=linux-${_major}
arch=(x86_64 x86_64_v3)
pkgdesc='Linux CFS scheduler Kernel by CachyOS and with some other patches and other improvements'
-pkgrel=1
+pkgrel=2
arch=('x86_64' 'x86_64_v3')
url="https://github.com/CachyOS/linux-cachyos"
license=('GPL2')
@@ -158,6 +156,9 @@ source=(
# "${_patchsource}/0007-lrng.patch"
"${_patchsource}/0008-xanmod.patch"
"${_patchsource}/0009-MG-LRU.patch"
+ "${_patchsource}/0009-MG-LRU.patch"
+ "${_patchsource}/0010-spf-lru-patches.patch"
+ "${_patchsource}/0011-uksm.patch"
# "${_patchsource}/misc/0001-amd-perf.patch"
"auto-cpu-optimization.sh"
)
diff --git a/linux-cachyos-tt/.SRCINFO b/linux-cachyos-tt/.SRCINFO
index 2c5ae2e2..68746651 100755
--- a/linux-cachyos-tt/.SRCINFO
+++ b/linux-cachyos-tt/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = linux-cachyos-tt
pkgdesc = Linux TT scheduler Kernel by CachyOS and other patches and improvements
pkgver = 5.17.3
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/CachyOS/linux-cachyos
arch = x86_64
arch = x86_64_v3
@@ -43,12 +43,13 @@ pkgbase = linux-cachyos-tt
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0001-hwmon.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0001-MG-LRU.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0001-spf-lru-patches.patch
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0001-uksm.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0001-rcu.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0001-v4l2loopback.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0001-xanmod.patch
source = auto-cpu-optimization.sh
sha256sums = 32d0a8e366b87e1cbde951b9f7a01287546670ba60fac35cccfc8a7c005a162c
- sha256sums = e7dc7b8f42990b667d7226cd9d07b1189e1355cbfdbe860016688763e6e28b8b
+ sha256sums = 2326154da7383bd6a3b84e27a2dbc36d7bf8c533cda438fac7e08abefb71e9b0
sha256sums = e493c542c964726c58aeee9949e84ad96b72f74bde629717dc274f03b3493789
sha256sums = df466f91e9560e258da5816f037760e511172e789dee01c267ac7213706919b9
sha256sums = b81d81435984662cc5948e5e26389402d6803ceb4cd3fe346f632fdf4c81f9ed
@@ -64,8 +65,9 @@ pkgbase = linux-cachyos-tt
sha256sums = ccdc989e3600ec098060696fc87168b655ebbaaaac00d2b424f56c1697c50abb
sha256sums = 27b29c0de9ac4e327f76d060c747196c59536754cb2288c7d121e700d9a976c8
sha256sums = c6e3fe5b1736c343f25632a23318c91ccc8b84e896ce7a0a1f7eb2a05e7a596f
- sha256sums = 0d91172d863ffd56a676619632075b03a18416e55ed3c66f79dfcbac19eefedb
+ sha256sums = 0682d64dd5be9699ccfbd8a2c4f39ab899f6d13e18e5e0f1ca30b282606ac958
sha256sums = 0c71a8f1cf99f01d2f6fdafde8b5b96e1f56b686b505aa2e18396855966c11f9
+ sha256sums = eccb27352c4e87998900a9b8b0e0ec6322c33f542643085a20db45a09c78fdba
sha256sums = 91b8eebde0f0704808b16e0c7a64be791d9c93319ecb05cb4cdb35dcce7387f3
sha256sums = 65d7b7fe507302e77affbfdd2e92991ae37c413c17d6b96559b5794487421d58
sha256sums = aa87843e5e44e0f5ad20e3acacccc54e9931ae5dce6bb9a357731deb19d182b0
diff --git a/linux-cachyos-tt/PKGBUILD b/linux-cachyos-tt/PKGBUILD
index dbc8c0cf..8a80ba3d 100644
--- a/linux-cachyos-tt/PKGBUILD
+++ b/linux-cachyos-tt/PKGBUILD
@@ -64,9 +64,6 @@ _mq_deadline_disable=y
### Disable Kyber I/O scheduler
_kyber_disable=y
-### Enable protect file mappings under memory pressure
-_mm_protect=
-
### Enable multigenerational LRU
_lru_enable=y
@@ -131,7 +128,7 @@ _srcname=linux-${_stable}
#_srcname=linux-${_major}
arch=(x86_64 x86_64_v3)
pkgdesc='Linux TT scheduler Kernel by CachyOS and other patches and improvements'
-pkgrel=1
+pkgrel=2
arch=('x86_64' 'x86_64_v3')
url="https://github.com/CachyOS/linux-cachyos"
license=('GPL2')
@@ -164,6 +161,7 @@ source=(
"${_patchsource}/0001-hwmon.patch"
"${_patchsource}/0001-MG-LRU.patch"
"${_patchsource}/0001-spf-lru-patches.patch"
+ "${_patchsource}/0001-uksm.patch"
"${_patchsource}/0001-rcu.patch"
"${_patchsource}/0001-v4l2loopback.patch"
"${_patchsource}/0001-xanmod.patch"
@@ -367,19 +365,6 @@ prepare() {
scripts/config --module CONFIG_NETFILTER_XT_TARGET_FULLCONENAT
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 SPF
if [ -n "$_spf_enable" ]; then
echo "Enabling multigenerational LRU..."
@@ -685,7 +670,7 @@ for _p in "${pkgname[@]}"; do
done
sha256sums=('32d0a8e366b87e1cbde951b9f7a01287546670ba60fac35cccfc8a7c005a162c'
- 'e7dc7b8f42990b667d7226cd9d07b1189e1355cbfdbe860016688763e6e28b8b'
+ '2326154da7383bd6a3b84e27a2dbc36d7bf8c533cda438fac7e08abefb71e9b0'
'e493c542c964726c58aeee9949e84ad96b72f74bde629717dc274f03b3493789'
'df466f91e9560e258da5816f037760e511172e789dee01c267ac7213706919b9'
'b81d81435984662cc5948e5e26389402d6803ceb4cd3fe346f632fdf4c81f9ed'
@@ -701,8 +686,9 @@ sha256sums=('32d0a8e366b87e1cbde951b9f7a01287546670ba60fac35cccfc8a7c005a162c'
'ccdc989e3600ec098060696fc87168b655ebbaaaac00d2b424f56c1697c50abb'
'27b29c0de9ac4e327f76d060c747196c59536754cb2288c7d121e700d9a976c8'
'c6e3fe5b1736c343f25632a23318c91ccc8b84e896ce7a0a1f7eb2a05e7a596f'
- '0d91172d863ffd56a676619632075b03a18416e55ed3c66f79dfcbac19eefedb'
+ '0682d64dd5be9699ccfbd8a2c4f39ab899f6d13e18e5e0f1ca30b282606ac958'
'0c71a8f1cf99f01d2f6fdafde8b5b96e1f56b686b505aa2e18396855966c11f9'
+ 'eccb27352c4e87998900a9b8b0e0ec6322c33f542643085a20db45a09c78fdba'
'91b8eebde0f0704808b16e0c7a64be791d9c93319ecb05cb4cdb35dcce7387f3'
'65d7b7fe507302e77affbfdd2e92991ae37c413c17d6b96559b5794487421d58'
'aa87843e5e44e0f5ad20e3acacccc54e9931ae5dce6bb9a357731deb19d182b0'
diff --git a/linux-cachyos-tt/config b/linux-cachyos-tt/config
index 37c4c095..9f9c2b1c 100644
--- a/linux-cachyos-tt/config
+++ b/linux-cachyos-tt/config
@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
-# Linux/x86 5.17.0 Kernel Configuration
+# Linux/x86 5.17.2 Kernel Configuration
#
CONFIG_CC_VERSION_TEXT="gcc (GCC) 11.2.0"
CONFIG_CC_IS_GCC=y
@@ -1061,6 +1061,8 @@ CONFIG_PHYS_ADDR_T_64BIT=y
CONFIG_VIRT_TO_BUS=y
CONFIG_MMU_NOTIFIER=y
CONFIG_KSM=y
+CONFIG_UKSM=y
+# CONFIG_KSM_LEGACY is not set
CONFIG_DEFAULT_MMAP_MIN_ADDR=65536
CONFIG_ARCH_SUPPORTS_MEMORY_FAILURE=y
CONFIG_MEMORY_FAILURE=y
diff --git a/linux-cachyos/.SRCINFO b/linux-cachyos/.SRCINFO
index 36074f65..18ccd963 100755
--- a/linux-cachyos/.SRCINFO
+++ b/linux-cachyos/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = linux-cachyos
pkgdesc = Linux CFS scheduler Kernel by CachyOS and with other patches and improvements
pkgver = 5.17.3
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/CachyOS/linux-cachyos
arch = x86_64
arch = x86_64_v3
@@ -42,12 +42,13 @@ pkgbase = linux-cachyos
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0001-hwmon.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0001-MG-LRU.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0001-spf-lru-patches.patch
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0001-uksm.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0001-rcu.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0001-v4l2loopback.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0001-xanmod.patch
source = auto-cpu-optimization.sh
sha256sums = 32d0a8e366b87e1cbde951b9f7a01287546670ba60fac35cccfc8a7c005a162c
- sha256sums = e7dc7b8f42990b667d7226cd9d07b1189e1355cbfdbe860016688763e6e28b8b
+ sha256sums = 2326154da7383bd6a3b84e27a2dbc36d7bf8c533cda438fac7e08abefb71e9b0
sha256sums = df466f91e9560e258da5816f037760e511172e789dee01c267ac7213706919b9
sha256sums = b81d81435984662cc5948e5e26389402d6803ceb4cd3fe346f632fdf4c81f9ed
sha256sums = ec150c2d74c58de56ab230679fe4c27b63a8bb4180f57e1985ff7fe7dced0401
@@ -62,8 +63,9 @@ pkgbase = linux-cachyos
sha256sums = ccdc989e3600ec098060696fc87168b655ebbaaaac00d2b424f56c1697c50abb
sha256sums = 27b29c0de9ac4e327f76d060c747196c59536754cb2288c7d121e700d9a976c8
sha256sums = c6e3fe5b1736c343f25632a23318c91ccc8b84e896ce7a0a1f7eb2a05e7a596f
- sha256sums = 0d91172d863ffd56a676619632075b03a18416e55ed3c66f79dfcbac19eefedb
+ sha256sums = 0682d64dd5be9699ccfbd8a2c4f39ab899f6d13e18e5e0f1ca30b282606ac958
sha256sums = 0c71a8f1cf99f01d2f6fdafde8b5b96e1f56b686b505aa2e18396855966c11f9
+ sha256sums = eccb27352c4e87998900a9b8b0e0ec6322c33f542643085a20db45a09c78fdba
sha256sums = 91b8eebde0f0704808b16e0c7a64be791d9c93319ecb05cb4cdb35dcce7387f3
sha256sums = 65d7b7fe507302e77affbfdd2e92991ae37c413c17d6b96559b5794487421d58
sha256sums = aa87843e5e44e0f5ad20e3acacccc54e9931ae5dce6bb9a357731deb19d182b0
diff --git a/linux-cachyos/PKGBUILD b/linux-cachyos/PKGBUILD
index d794dab7..c9502ddb 100644
--- a/linux-cachyos/PKGBUILD
+++ b/linux-cachyos/PKGBUILD
@@ -64,9 +64,6 @@ _mq_deadline_disable=y
### Disable Kyber I/O scheduler
_kyber_disable=y
-### Enable protect file mappings under memory pressure
-_mm_protect=
-
### Enable multigenerational LRU
_lru_enable=y
@@ -131,7 +128,7 @@ _srcname=linux-${_stable}
#_srcname=linux-${_major}
arch=(x86_64 x86_64_v3)
pkgdesc='Linux CFS scheduler Kernel by CachyOS and with other patches and improvements'
-pkgrel=1
+pkgrel=2
arch=('x86_64' 'x86_64_v3')
url="https://github.com/CachyOS/linux-cachyos"
license=('GPL2')
@@ -164,6 +161,7 @@ source=(
"${_patchsource}/0001-hwmon.patch"
"${_patchsource}/0001-MG-LRU.patch"
"${_patchsource}/0001-spf-lru-patches.patch"
+ "${_patchsource}/0001-uksm.patch"
"${_patchsource}/0001-rcu.patch"
"${_patchsource}/0001-v4l2loopback.patch"
"${_patchsource}/0001-xanmod.patch"
@@ -367,18 +365,6 @@ prepare() {
scripts/config --module CONFIG_NETFILTER_XT_TARGET_FULLCONENAT
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 SPF
if [ -n "$_spf_enable" ]; then
echo "Enabling multigenerational LRU..."
@@ -684,7 +670,7 @@ for _p in "${pkgname[@]}"; do
done
sha256sums=('32d0a8e366b87e1cbde951b9f7a01287546670ba60fac35cccfc8a7c005a162c'
- 'e7dc7b8f42990b667d7226cd9d07b1189e1355cbfdbe860016688763e6e28b8b'
+ '2326154da7383bd6a3b84e27a2dbc36d7bf8c533cda438fac7e08abefb71e9b0'
'df466f91e9560e258da5816f037760e511172e789dee01c267ac7213706919b9'
'b81d81435984662cc5948e5e26389402d6803ceb4cd3fe346f632fdf4c81f9ed'
'ec150c2d74c58de56ab230679fe4c27b63a8bb4180f57e1985ff7fe7dced0401'
@@ -699,8 +685,9 @@ sha256sums=('32d0a8e366b87e1cbde951b9f7a01287546670ba60fac35cccfc8a7c005a162c'
'ccdc989e3600ec098060696fc87168b655ebbaaaac00d2b424f56c1697c50abb'
'27b29c0de9ac4e327f76d060c747196c59536754cb2288c7d121e700d9a976c8'
'c6e3fe5b1736c343f25632a23318c91ccc8b84e896ce7a0a1f7eb2a05e7a596f'
- '0d91172d863ffd56a676619632075b03a18416e55ed3c66f79dfcbac19eefedb'
+ '0682d64dd5be9699ccfbd8a2c4f39ab899f6d13e18e5e0f1ca30b282606ac958'
'0c71a8f1cf99f01d2f6fdafde8b5b96e1f56b686b505aa2e18396855966c11f9'
+ 'eccb27352c4e87998900a9b8b0e0ec6322c33f542643085a20db45a09c78fdba'
'91b8eebde0f0704808b16e0c7a64be791d9c93319ecb05cb4cdb35dcce7387f3'
'65d7b7fe507302e77affbfdd2e92991ae37c413c17d6b96559b5794487421d58'
'aa87843e5e44e0f5ad20e3acacccc54e9931ae5dce6bb9a357731deb19d182b0'
diff --git a/linux-cachyos/config b/linux-cachyos/config
index 37c4c095..9f9c2b1c 100644
--- a/linux-cachyos/config
+++ b/linux-cachyos/config
@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
-# Linux/x86 5.17.0 Kernel Configuration
+# Linux/x86 5.17.2 Kernel Configuration
#
CONFIG_CC_VERSION_TEXT="gcc (GCC) 11.2.0"
CONFIG_CC_IS_GCC=y
@@ -1061,6 +1061,8 @@ CONFIG_PHYS_ADDR_T_64BIT=y
CONFIG_VIRT_TO_BUS=y
CONFIG_MMU_NOTIFIER=y
CONFIG_KSM=y
+CONFIG_UKSM=y
+# CONFIG_KSM_LEGACY is not set
CONFIG_DEFAULT_MMAP_MIN_ADDR=65536
CONFIG_ARCH_SUPPORTS_MEMORY_FAILURE=y
CONFIG_MEMORY_FAILURE=y
diff --git a/linux-cacule-rdb/.SRCINFO b/linux-cacule-rdb/.SRCINFO
index bb581817..55e183cf 100755
--- a/linux-cacule-rdb/.SRCINFO
+++ b/linux-cacule-rdb/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = linux-cacule-rdb
pkgdesc = Linux cacULE-RDB scheduler Kernel by CachyOS with other patches and improvements
pkgver = 5.17.3
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/CachyOS/linux-cachyos
arch = x86_64
arch = x86_64_v3
@@ -43,12 +43,13 @@ pkgbase = linux-cacule-rdb
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0001-hwmon.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0001-MG-LRU.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0001-spf-lru-patches.patch
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0001-uksm.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0001-rcu.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0001-v4l2loopback.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0001-xanmod.patch
source = auto-cpu-optimization.sh
sha256sums = 32d0a8e366b87e1cbde951b9f7a01287546670ba60fac35cccfc8a7c005a162c
- sha256sums = 4c0791ba64d611421f76d7729ae3394d403351149da3eaa733e82d8f1b1f65b6
+ sha256sums = d336c4c1123208ba055055db08f24bfe1c9ae9785f3dbe58b7bb6b60fa6786c9
sha256sums = 33c0d70410ac7e0fccce5796aacea76838b048c79bbdc92eaf2fdbb5eabd4e0d
sha256sums = df466f91e9560e258da5816f037760e511172e789dee01c267ac7213706919b9
sha256sums = b81d81435984662cc5948e5e26389402d6803ceb4cd3fe346f632fdf4c81f9ed
@@ -64,8 +65,9 @@ pkgbase = linux-cacule-rdb
sha256sums = ccdc989e3600ec098060696fc87168b655ebbaaaac00d2b424f56c1697c50abb
sha256sums = 27b29c0de9ac4e327f76d060c747196c59536754cb2288c7d121e700d9a976c8
sha256sums = c6e3fe5b1736c343f25632a23318c91ccc8b84e896ce7a0a1f7eb2a05e7a596f
- sha256sums = 0d91172d863ffd56a676619632075b03a18416e55ed3c66f79dfcbac19eefedb
+ sha256sums = 0682d64dd5be9699ccfbd8a2c4f39ab899f6d13e18e5e0f1ca30b282606ac958
sha256sums = 0c71a8f1cf99f01d2f6fdafde8b5b96e1f56b686b505aa2e18396855966c11f9
+ sha256sums = eccb27352c4e87998900a9b8b0e0ec6322c33f542643085a20db45a09c78fdba
sha256sums = 91b8eebde0f0704808b16e0c7a64be791d9c93319ecb05cb4cdb35dcce7387f3
sha256sums = 65d7b7fe507302e77affbfdd2e92991ae37c413c17d6b96559b5794487421d58
sha256sums = aa87843e5e44e0f5ad20e3acacccc54e9931ae5dce6bb9a357731deb19d182b0
diff --git a/linux-cacule-rdb/PKGBUILD b/linux-cacule-rdb/PKGBUILD
index 7c567908..5ee25e2a 100644
--- a/linux-cacule-rdb/PKGBUILD
+++ b/linux-cacule-rdb/PKGBUILD
@@ -64,9 +64,6 @@ _mq_deadline_disable=y
### Disable Kyber I/O scheduler
_kyber_disable=y
-### Enable protect file mappings under memory pressure
-_mm_protect=
-
### Enable multigenerational LRU
_lru_enable=y
@@ -131,7 +128,7 @@ _srcname=linux-${_stable}
#_srcname=linux-${_major}
arch=(x86_64 x86_64_v3)
pkgdesc='Linux cacULE-RDB scheduler Kernel by CachyOS with other patches and improvements'
-pkgrel=1
+pkgrel=2
arch=('x86_64' 'x86_64_v3')
url="https://github.com/CachyOS/linux-cachyos"
license=('GPL2')
@@ -164,6 +161,7 @@ source=(
"${_patchsource}/0001-hwmon.patch"
"${_patchsource}/0001-MG-LRU.patch"
"${_patchsource}/0001-spf-lru-patches.patch"
+ "${_patchsource}/0001-uksm.patch"
"${_patchsource}/0001-rcu.patch"
"${_patchsource}/0001-v4l2loopback.patch"
"${_patchsource}/0001-xanmod.patch"
@@ -367,19 +365,6 @@ prepare() {
scripts/config --module CONFIG_NETFILTER_XT_TARGET_FULLCONENAT
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 SPF
if [ -n "$_spf_enable" ]; then
echo "Enabling multigenerational LRU..."
@@ -684,7 +669,7 @@ for _p in "${pkgname[@]}"; do
done
sha256sums=('32d0a8e366b87e1cbde951b9f7a01287546670ba60fac35cccfc8a7c005a162c'
- '4c0791ba64d611421f76d7729ae3394d403351149da3eaa733e82d8f1b1f65b6'
+ 'd336c4c1123208ba055055db08f24bfe1c9ae9785f3dbe58b7bb6b60fa6786c9'
'33c0d70410ac7e0fccce5796aacea76838b048c79bbdc92eaf2fdbb5eabd4e0d'
'df466f91e9560e258da5816f037760e511172e789dee01c267ac7213706919b9'
'b81d81435984662cc5948e5e26389402d6803ceb4cd3fe346f632fdf4c81f9ed'
@@ -700,8 +685,9 @@ sha256sums=('32d0a8e366b87e1cbde951b9f7a01287546670ba60fac35cccfc8a7c005a162c'
'ccdc989e3600ec098060696fc87168b655ebbaaaac00d2b424f56c1697c50abb'
'27b29c0de9ac4e327f76d060c747196c59536754cb2288c7d121e700d9a976c8'
'c6e3fe5b1736c343f25632a23318c91ccc8b84e896ce7a0a1f7eb2a05e7a596f'
- '0d91172d863ffd56a676619632075b03a18416e55ed3c66f79dfcbac19eefedb'
+ '0682d64dd5be9699ccfbd8a2c4f39ab899f6d13e18e5e0f1ca30b282606ac958'
'0c71a8f1cf99f01d2f6fdafde8b5b96e1f56b686b505aa2e18396855966c11f9'
+ 'eccb27352c4e87998900a9b8b0e0ec6322c33f542643085a20db45a09c78fdba'
'91b8eebde0f0704808b16e0c7a64be791d9c93319ecb05cb4cdb35dcce7387f3'
'65d7b7fe507302e77affbfdd2e92991ae37c413c17d6b96559b5794487421d58'
'aa87843e5e44e0f5ad20e3acacccc54e9931ae5dce6bb9a357731deb19d182b0'
diff --git a/linux-cacule-rdb/config b/linux-cacule-rdb/config
index 3b6451ce..b55e9308 100644
--- a/linux-cacule-rdb/config
+++ b/linux-cacule-rdb/config
@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
-# Linux/x86 5.17.2 Kernel Configuration
+# Linux/x86 5.17.3 Kernel Configuration
#
CONFIG_CC_VERSION_TEXT="gcc (GCC) 11.2.0"
CONFIG_CC_IS_GCC=y
@@ -1061,6 +1061,8 @@ CONFIG_PHYS_ADDR_T_64BIT=y
CONFIG_VIRT_TO_BUS=y
CONFIG_MMU_NOTIFIER=y
CONFIG_KSM=y
+CONFIG_UKSM=y
+# CONFIG_KSM_LEGACY is not set
CONFIG_DEFAULT_MMAP_MIN_ADDR=65536
CONFIG_ARCH_SUPPORTS_MEMORY_FAILURE=y
CONFIG_MEMORY_FAILURE=y
diff --git a/linux-cacule/.SRCINFO b/linux-cacule/.SRCINFO
index 6321953d..0b2f20af 100755
--- a/linux-cacule/.SRCINFO
+++ b/linux-cacule/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = linux-cacule
pkgdesc = Linux cacULE scheduler Kernel by CachyOS with other patches and improvements
pkgver = 5.17.3
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/CachyOS/linux-cachyos
arch = x86_64
arch = x86_64_v3
@@ -43,12 +43,13 @@ pkgbase = linux-cacule
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0001-hwmon.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0001-MG-LRU.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0001-spf-lru-patches.patch
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0001-uksm.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0001-rcu.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0001-v4l2loopback.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0001-xanmod.patch
source = auto-cpu-optimization.sh
sha256sums = 32d0a8e366b87e1cbde951b9f7a01287546670ba60fac35cccfc8a7c005a162c
- sha256sums = 4c0791ba64d611421f76d7729ae3394d403351149da3eaa733e82d8f1b1f65b6
+ sha256sums = d336c4c1123208ba055055db08f24bfe1c9ae9785f3dbe58b7bb6b60fa6786c9
sha256sums = 33c0d70410ac7e0fccce5796aacea76838b048c79bbdc92eaf2fdbb5eabd4e0d
sha256sums = df466f91e9560e258da5816f037760e511172e789dee01c267ac7213706919b9
sha256sums = b81d81435984662cc5948e5e26389402d6803ceb4cd3fe346f632fdf4c81f9ed
@@ -64,8 +65,9 @@ pkgbase = linux-cacule
sha256sums = ccdc989e3600ec098060696fc87168b655ebbaaaac00d2b424f56c1697c50abb
sha256sums = 27b29c0de9ac4e327f76d060c747196c59536754cb2288c7d121e700d9a976c8
sha256sums = c6e3fe5b1736c343f25632a23318c91ccc8b84e896ce7a0a1f7eb2a05e7a596f
- sha256sums = 0d91172d863ffd56a676619632075b03a18416e55ed3c66f79dfcbac19eefedb
+ sha256sums = 0682d64dd5be9699ccfbd8a2c4f39ab899f6d13e18e5e0f1ca30b282606ac958
sha256sums = 0c71a8f1cf99f01d2f6fdafde8b5b96e1f56b686b505aa2e18396855966c11f9
+ sha256sums = eccb27352c4e87998900a9b8b0e0ec6322c33f542643085a20db45a09c78fdba
sha256sums = 91b8eebde0f0704808b16e0c7a64be791d9c93319ecb05cb4cdb35dcce7387f3
sha256sums = 65d7b7fe507302e77affbfdd2e92991ae37c413c17d6b96559b5794487421d58
sha256sums = aa87843e5e44e0f5ad20e3acacccc54e9931ae5dce6bb9a357731deb19d182b0
diff --git a/linux-cacule/PKGBUILD b/linux-cacule/PKGBUILD
index 7eb33b77..9dc106c7 100644
--- a/linux-cacule/PKGBUILD
+++ b/linux-cacule/PKGBUILD
@@ -64,9 +64,6 @@ _mq_deadline_disable=y
### Disable Kyber I/O scheduler
_kyber_disable=y
-### Enable protect file mappings under memory pressure
-_mm_protect=
-
### Enable multigenerational LRU
_lru_enable=y
@@ -132,7 +129,7 @@ _srcname=linux-${_stable}
#_srcname=linux-${_major}
arch=(x86_64 x86_64_v3)
pkgdesc='Linux cacULE scheduler Kernel by CachyOS with other patches and improvements'
-pkgrel=1
+pkgrel=2
arch=('x86_64' 'x86_64_v3')
url="https://github.com/CachyOS/linux-cachyos"
license=('GPL2')
@@ -165,6 +162,7 @@ source=(
"${_patchsource}/0001-hwmon.patch"
"${_patchsource}/0001-MG-LRU.patch"
"${_patchsource}/0001-spf-lru-patches.patch"
+ "${_patchsource}/0001-uksm.patch"
"${_patchsource}/0001-rcu.patch"
"${_patchsource}/0001-v4l2loopback.patch"
"${_patchsource}/0001-xanmod.patch"
@@ -369,19 +367,6 @@ prepare() {
scripts/config --module CONFIG_NETFILTER_XT_TARGET_FULLCONENAT
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 SPF
if [ -n "$_spf_enable" ]; then
echo "Enabling multigenerational LRU..."
@@ -686,7 +671,7 @@ for _p in "${pkgname[@]}"; do
done
sha256sums=('32d0a8e366b87e1cbde951b9f7a01287546670ba60fac35cccfc8a7c005a162c'
- '4c0791ba64d611421f76d7729ae3394d403351149da3eaa733e82d8f1b1f65b6'
+ 'd336c4c1123208ba055055db08f24bfe1c9ae9785f3dbe58b7bb6b60fa6786c9'
'33c0d70410ac7e0fccce5796aacea76838b048c79bbdc92eaf2fdbb5eabd4e0d'
'df466f91e9560e258da5816f037760e511172e789dee01c267ac7213706919b9'
'b81d81435984662cc5948e5e26389402d6803ceb4cd3fe346f632fdf4c81f9ed'
@@ -702,8 +687,9 @@ sha256sums=('32d0a8e366b87e1cbde951b9f7a01287546670ba60fac35cccfc8a7c005a162c'
'ccdc989e3600ec098060696fc87168b655ebbaaaac00d2b424f56c1697c50abb'
'27b29c0de9ac4e327f76d060c747196c59536754cb2288c7d121e700d9a976c8'
'c6e3fe5b1736c343f25632a23318c91ccc8b84e896ce7a0a1f7eb2a05e7a596f'
- '0d91172d863ffd56a676619632075b03a18416e55ed3c66f79dfcbac19eefedb'
+ '0682d64dd5be9699ccfbd8a2c4f39ab899f6d13e18e5e0f1ca30b282606ac958'
'0c71a8f1cf99f01d2f6fdafde8b5b96e1f56b686b505aa2e18396855966c11f9'
+ 'eccb27352c4e87998900a9b8b0e0ec6322c33f542643085a20db45a09c78fdba'
'91b8eebde0f0704808b16e0c7a64be791d9c93319ecb05cb4cdb35dcce7387f3'
'65d7b7fe507302e77affbfdd2e92991ae37c413c17d6b96559b5794487421d58'
'aa87843e5e44e0f5ad20e3acacccc54e9931ae5dce6bb9a357731deb19d182b0'
diff --git a/linux-cacule/config b/linux-cacule/config
index 3b6451ce..b55e9308 100644
--- a/linux-cacule/config
+++ b/linux-cacule/config
@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
-# Linux/x86 5.17.2 Kernel Configuration
+# Linux/x86 5.17.3 Kernel Configuration
#
CONFIG_CC_VERSION_TEXT="gcc (GCC) 11.2.0"
CONFIG_CC_IS_GCC=y
@@ -1061,6 +1061,8 @@ CONFIG_PHYS_ADDR_T_64BIT=y
CONFIG_VIRT_TO_BUS=y
CONFIG_MMU_NOTIFIER=y
CONFIG_KSM=y
+CONFIG_UKSM=y
+# CONFIG_KSM_LEGACY is not set
CONFIG_DEFAULT_MMAP_MIN_ADDR=65536
CONFIG_ARCH_SUPPORTS_MEMORY_FAILURE=y
CONFIG_MEMORY_FAILURE=y
diff --git a/linux-tt/.SRCINFO b/linux-tt/.SRCINFO
index 46375ac4..9a1b42de 100755
--- a/linux-tt/.SRCINFO
+++ b/linux-tt/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = linux-tt
pkgdesc = Linux TT scheduler Kernel by CachyOS and other patches and improvements
pkgver = 5.17.3
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/CachyOS/linux-cachyos
arch = x86_64
arch = x86_64_v3
@@ -43,12 +43,13 @@ pkgbase = linux-tt
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0001-hwmon.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0001-MG-LRU.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0001-spf-lru-patches.patch
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0001-uksm.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0001-rcu.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0001-v4l2loopback.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0001-xanmod.patch
source = auto-cpu-optimization.sh
sha256sums = 32d0a8e366b87e1cbde951b9f7a01287546670ba60fac35cccfc8a7c005a162c
- sha256sums = 4c0791ba64d611421f76d7729ae3394d403351149da3eaa733e82d8f1b1f65b6
+ sha256sums = d336c4c1123208ba055055db08f24bfe1c9ae9785f3dbe58b7bb6b60fa6786c9
sha256sums = e493c542c964726c58aeee9949e84ad96b72f74bde629717dc274f03b3493789
sha256sums = df466f91e9560e258da5816f037760e511172e789dee01c267ac7213706919b9
sha256sums = b81d81435984662cc5948e5e26389402d6803ceb4cd3fe346f632fdf4c81f9ed
@@ -64,8 +65,9 @@ pkgbase = linux-tt
sha256sums = ccdc989e3600ec098060696fc87168b655ebbaaaac00d2b424f56c1697c50abb
sha256sums = 27b29c0de9ac4e327f76d060c747196c59536754cb2288c7d121e700d9a976c8
sha256sums = c6e3fe5b1736c343f25632a23318c91ccc8b84e896ce7a0a1f7eb2a05e7a596f
- sha256sums = 0d91172d863ffd56a676619632075b03a18416e55ed3c66f79dfcbac19eefedb
+ sha256sums = 0682d64dd5be9699ccfbd8a2c4f39ab899f6d13e18e5e0f1ca30b282606ac958
sha256sums = 0c71a8f1cf99f01d2f6fdafde8b5b96e1f56b686b505aa2e18396855966c11f9
+ sha256sums = eccb27352c4e87998900a9b8b0e0ec6322c33f542643085a20db45a09c78fdba
sha256sums = 91b8eebde0f0704808b16e0c7a64be791d9c93319ecb05cb4cdb35dcce7387f3
sha256sums = 65d7b7fe507302e77affbfdd2e92991ae37c413c17d6b96559b5794487421d58
sha256sums = aa87843e5e44e0f5ad20e3acacccc54e9931ae5dce6bb9a357731deb19d182b0
diff --git a/linux-tt/PKGBUILD b/linux-tt/PKGBUILD
index 2749ec04..e68220a0 100644
--- a/linux-tt/PKGBUILD
+++ b/linux-tt/PKGBUILD
@@ -64,9 +64,6 @@ _mq_deadline_disable=y
### Disable Kyber I/O scheduler
_kyber_disable=y
-### Enable protect file mappings under memory pressure
-_mm_protect=
-
### Enable multigenerational LRU
_lru_enable=y
@@ -131,7 +128,7 @@ _srcname=linux-${_stable}
#_srcname=linux-${_major}
arch=(x86_64 x86_64_v3)
pkgdesc='Linux TT scheduler Kernel by CachyOS and other patches and improvements'
-pkgrel=1
+pkgrel=2
arch=('x86_64' 'x86_64_v3')
url="https://github.com/CachyOS/linux-cachyos"
license=('GPL2')
@@ -164,6 +161,7 @@ source=(
"${_patchsource}/0001-hwmon.patch"
"${_patchsource}/0001-MG-LRU.patch"
"${_patchsource}/0001-spf-lru-patches.patch"
+ "${_patchsource}/0001-uksm.patch"
"${_patchsource}/0001-rcu.patch"
"${_patchsource}/0001-v4l2loopback.patch"
"${_patchsource}/0001-xanmod.patch"
@@ -367,18 +365,6 @@ prepare() {
scripts/config --module CONFIG_NETFILTER_XT_TARGET_FULLCONENAT
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 SPF
if [ -n "$_spf_enable" ]; then
echo "Enabling multigenerational LRU..."
@@ -683,7 +669,7 @@ for _p in "${pkgname[@]}"; do
done
sha256sums=('32d0a8e366b87e1cbde951b9f7a01287546670ba60fac35cccfc8a7c005a162c'
- '4c0791ba64d611421f76d7729ae3394d403351149da3eaa733e82d8f1b1f65b6'
+ 'd336c4c1123208ba055055db08f24bfe1c9ae9785f3dbe58b7bb6b60fa6786c9'
'e493c542c964726c58aeee9949e84ad96b72f74bde629717dc274f03b3493789'
'df466f91e9560e258da5816f037760e511172e789dee01c267ac7213706919b9'
'b81d81435984662cc5948e5e26389402d6803ceb4cd3fe346f632fdf4c81f9ed'
@@ -699,8 +685,9 @@ sha256sums=('32d0a8e366b87e1cbde951b9f7a01287546670ba60fac35cccfc8a7c005a162c'
'ccdc989e3600ec098060696fc87168b655ebbaaaac00d2b424f56c1697c50abb'
'27b29c0de9ac4e327f76d060c747196c59536754cb2288c7d121e700d9a976c8'
'c6e3fe5b1736c343f25632a23318c91ccc8b84e896ce7a0a1f7eb2a05e7a596f'
- '0d91172d863ffd56a676619632075b03a18416e55ed3c66f79dfcbac19eefedb'
+ '0682d64dd5be9699ccfbd8a2c4f39ab899f6d13e18e5e0f1ca30b282606ac958'
'0c71a8f1cf99f01d2f6fdafde8b5b96e1f56b686b505aa2e18396855966c11f9'
+ 'eccb27352c4e87998900a9b8b0e0ec6322c33f542643085a20db45a09c78fdba'
'91b8eebde0f0704808b16e0c7a64be791d9c93319ecb05cb4cdb35dcce7387f3'
'65d7b7fe507302e77affbfdd2e92991ae37c413c17d6b96559b5794487421d58'
'aa87843e5e44e0f5ad20e3acacccc54e9931ae5dce6bb9a357731deb19d182b0'
diff --git a/linux-tt/config b/linux-tt/config
index 3b6451ce..b55e9308 100644
--- a/linux-tt/config
+++ b/linux-tt/config
@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
-# Linux/x86 5.17.2 Kernel Configuration
+# Linux/x86 5.17.3 Kernel Configuration
#
CONFIG_CC_VERSION_TEXT="gcc (GCC) 11.2.0"
CONFIG_CC_IS_GCC=y
@@ -1061,6 +1061,8 @@ CONFIG_PHYS_ADDR_T_64BIT=y
CONFIG_VIRT_TO_BUS=y
CONFIG_MMU_NOTIFIER=y
CONFIG_KSM=y
+CONFIG_UKSM=y
+# CONFIG_KSM_LEGACY is not set
CONFIG_DEFAULT_MMAP_MIN_ADDR=65536
CONFIG_ARCH_SUPPORTS_MEMORY_FAILURE=y
CONFIG_MEMORY_FAILURE=y