summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. Jung2021-09-18 00:22:23 +0000
committerP. Jung2021-09-18 00:22:23 +0000
commit29ca1f5d5ff4b3cfd58c2bfe6a58e4db0c280e88 (patch)
tree97d0bd3dfe22686ce4915a12e2dae179fb2de3fc
parent0f293079e06fb4c596ee6cc0f1484a3cc832f496 (diff)
downloadaur-29ca1f5d5ff4b3cfd58c2bfe6a58e4db0c280e88.tar.gz
patches and config updated
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD40
-rw-r--r--config7
3 files changed, 25 insertions, 36 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 947395351f77..ed0c3e93ccb2 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = linux-cacule-rdb-llvm
pkgdesc = Linux-CacULE Kernel-RDB by Hamad Marri and with some other patchsets compiled with FULL-LTO
pkgver = 5.14.5
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/ptr1337/linux-cacule
arch = x86_64
arch = x86_64_v3
@@ -28,7 +28,6 @@ pkgbase = linux-cacule-rdb-llvm
source = config
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/arch-patches-v5/0001-ZEN-Add-sysctl-and-CONFIG-to-disallow-unprivileged-C.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/CacULE/v5.14/cacule-5.14-full.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/misc/0004-folio-mm.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/misc/0007-string.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/misc/allpollingrate.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/misc/0001-LL-kconfig-add-750Hz-timer-interrupt-kernel-config-o.patch
@@ -44,23 +43,22 @@ pkgbase = linux-cacule-rdb-llvm
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/futex2-zen-patches/0001-futex2-resync-from-gitlab.collabora.com.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/lqx-patches/0001-lqx-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/lrng-patches/0001-lrng-patches.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/misc/le9fa-5.14.patch
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/lru-patches-v3/0001-lru-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/pf-patches-v5/0001-pf-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/xanmod-patches/0001-xanmod-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/zen-patches/0001-zen-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/zstd-patches-v2/0001-zstd-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/zstd-upstream-patches-v3/0001-zstd-upstream-patches.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/ntfs3-patches-v6/0001-ntfs3-patches.patch
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/ntfs3-patches-v7/0001-ntfs3-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/0001-cpu-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/0001-winesync.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/0001-v4l2loopback.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/0001-ksm.patch
source = auto-cpu-optimization.sh
md5sums = 8d239f7b469b7b21514fb60143894dd5
- md5sums = 1c0a09a4686636c79fbc0237a7a6ed3f
+ md5sums = 88cf536448096d619e367c9e0be0aeef
md5sums = 9abde29217354c69925d2bc672f66d67
md5sums = 024a0126cfcd18e000a2241f35c4d69e
- md5sums = a804260e2f301ffe2a17d6e3625a9711
md5sums = d6e5581b4fade267a28deb8e73d236f5
md5sums = f154315498da9bf593c11d88041bde48
md5sums = f8e172e9ea554bbb1053eb122c3ace35
@@ -76,13 +74,13 @@ pkgbase = linux-cacule-rdb-llvm
md5sums = 2891eb036469d04995d9b21a5e389d8a
md5sums = 6787c78ba3e7b0a34fbba9c50da7e3b4
md5sums = 3cf036429a7c962005a344e10a568d7b
- md5sums = 5c709561b32066b910b78fe08e4c356d
+ md5sums = 8e2219f09adfe049b3e8b59fb8c4348a
md5sums = d4c3a3ca73c2e722ebc790357ba87680
md5sums = 28864f14bf33bad92e57bc48bc5c2c78
md5sums = 381bc4f0ff885e9b67e5899476a30416
md5sums = 808981a36c81165953017e5e432c1fa1
md5sums = 74db4069a1c3985e5de43cf28f44e693
- md5sums = 58bea4e0eeeabc766ba1fb91ce85d8ca
+ md5sums = a967dc62d8a3bbd772f2594a6257cc2a
md5sums = bb22330e270bf36ccf53cb04d6b496d2
md5sums = 4c493a3e0f3486be8ad1b6c67c9c6917
md5sums = 95eb4457f95f3f8dd153983612ee65c0
diff --git a/PKGBUILD b/PKGBUILD
index 7df74e786c85..715d74a8a1a6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -82,7 +82,7 @@ pkgbase=linux-cacule-rdb-llvm
pkgname=('linux-cacule-rdb-llvm' 'linux-cacule-rdb-llvm-headers')
pkgname=("${pkgbase}" "${pkgbase}-headers")
pkgver=5.14.5
-pkgrel=1
+pkgrel=2
arch=(x86_64 x86_64_v3)
pkgdesc='Linux-CacULE Kernel-RDB by Hamad Marri and with some other patchsets compiled with FULL-LTO'
_gittag=v${pkgver%.*}-${pkgver##*.}
@@ -99,7 +99,7 @@ source=("https://cdn.kernel.org/pub/linux/kernel/v${pkgver:0:1}.x/linux-${pkgver
"${_patchsource}/arch-patches-v5/0001-ZEN-Add-sysctl-and-CONFIG-to-disallow-unprivileged-C.patch"
# "${_patchsource}/arch-patches-v4/0001-arch-patches.patch"
"${_caculepatches}/v5.14/cacule-5.14-full.patch"
- "${_patchsource}/misc/0004-folio-mm.patch"
+# "${_patchsource}/misc/0004-folio-mm.patch"
"${_patchsource}/misc/0007-string.patch"
"${_patchsource}/misc/allpollingrate.patch"
"${_patchsource}/misc/0001-LL-kconfig-add-750Hz-timer-interrupt-kernel-config-o.patch"
@@ -115,14 +115,15 @@ source=("https://cdn.kernel.org/pub/linux/kernel/v${pkgver:0:1}.x/linux-${pkgver
"${_patchsource}/futex2-zen-patches/0001-futex2-resync-from-gitlab.collabora.com.patch"
"${_patchsource}/lqx-patches/0001-lqx-patches.patch"
"${_patchsource}/lrng-patches/0001-lrng-patches.patch"
-# "${_patchsource}/mm-patches/0001-mm-5.14-protect-mappings-under-memory-pressure"
- "${_patchsource}/misc/le9fa-5.14.patch"
+ "${_patchsource}/lru-patches-v3/0001-lru-patches.patch"
+# "${_patchsource}/le9-patches-v4/0001-mm-vmscan-add-sysctl-knobs-for-protecting-the-workin.patch"
+# "${_patchsource}/misc/le9fa-5.14.patch"
"${_patchsource}/pf-patches-v5/0001-pf-patches.patch"
"${_patchsource}/xanmod-patches/0001-xanmod-patches.patch"
"${_patchsource}/zen-patches/0001-zen-patches.patch"
"${_patchsource}/zstd-patches-v2/0001-zstd-patches.patch"
"${_patchsource}/zstd-upstream-patches-v3/0001-zstd-upstream-patches.patch"
- "${_patchsource}/ntfs3-patches-v6/0001-ntfs3-patches.patch"
+ "${_patchsource}/ntfs3-patches-v7/0001-ntfs3-patches.patch"
"${_patchsource}/0001-cpu-patches.patch"
"${_patchsource}/0001-winesync.patch"
"${_patchsource}/0001-v4l2loopback.patch"
@@ -259,15 +260,12 @@ prepare() {
### Enable protect file 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 262144
- # scripts/config --set-val CONFIG_UNEVICTABLE_FILE_KBYTES_MIN 131072
- scripts/config --set-val CONFIG_CLEAN_LOW_KBYTES 262144
- scripts/config --set-val CONFIG_CLEAN_MIN_KBYTES 131072
- # scripts/config --enable CONFIG_UNEVICTABLE_ANON
- # scripts/config --set-val CONFIG_UNEVICTABLE_ANON_KBYTES_LOW 65536
- # scripts/config --set-val CONFIG_UNEVICTABLE_ANON_KBYTES_MIN 32768
- scripts/config --set-val CONFIG_ANON_MIN_KBYTES 32768
+ scripts/config --enable CONFIG_UNEVICTABLE_FILE
+ scripts/config --set-val CONFIG_UNEVICTABLE_FILE_KBYTES_LOW 262144
+ scripts/config --set-val CONFIG_UNEVICTABLE_FILE_KBYTES_MIN 131072
+ scripts/config --enable CONFIG_UNEVICTABLE_ANON
+ scripts/config --set-val CONFIG_UNEVICTABLE_ANON_KBYTES_LOW 65536
+ scripts/config --set-val CONFIG_UNEVICTABLE_ANON_KBYTES_MIN 32768
fi
### Enable multigenerational LRU
@@ -372,13 +370,6 @@ prepare() {
echo "Enabling KBUILD_CFLAGS -O3..."
scripts/config --disable CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE
scripts/config --enable CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE_O3
- echo "Enable PREEMPT"
- scripts/config --disable CONFIG_PREEMPT_NONE
- scripts/config --disable CONFIG_PREEMPT_VOLUNTARY
- scripts/config --enable CONFIG_PREEMPT
- scripts/config --enable CONFIG_PREEMPT_COUNT
- scripts/config --enable CONFIG_PREEMPTION
- scripts/config --enable CONFIG_PREEMPT_DYNAMIC
echo "Enable NTFS3"
scripts/config --module CONFIG_NTFS_FS
scripts/config --enable CONFIG_NTFS_RW
@@ -555,10 +546,9 @@ package_linux-cacule-rdb-llvm-headers() {
}
md5sums=('8d239f7b469b7b21514fb60143894dd5'
- '1c0a09a4686636c79fbc0237a7a6ed3f'
+ '88cf536448096d619e367c9e0be0aeef'
'9abde29217354c69925d2bc672f66d67'
'024a0126cfcd18e000a2241f35c4d69e'
- 'a804260e2f301ffe2a17d6e3625a9711'
'd6e5581b4fade267a28deb8e73d236f5'
'f154315498da9bf593c11d88041bde48'
'f8e172e9ea554bbb1053eb122c3ace35'
@@ -574,13 +564,13 @@ md5sums=('8d239f7b469b7b21514fb60143894dd5'
'2891eb036469d04995d9b21a5e389d8a'
'6787c78ba3e7b0a34fbba9c50da7e3b4'
'3cf036429a7c962005a344e10a568d7b'
- '5c709561b32066b910b78fe08e4c356d'
+ '8e2219f09adfe049b3e8b59fb8c4348a'
'd4c3a3ca73c2e722ebc790357ba87680'
'28864f14bf33bad92e57bc48bc5c2c78'
'381bc4f0ff885e9b67e5899476a30416'
'808981a36c81165953017e5e432c1fa1'
'74db4069a1c3985e5de43cf28f44e693'
- '58bea4e0eeeabc766ba1fb91ce85d8ca'
+ 'a967dc62d8a3bbd772f2594a6257cc2a'
'bb22330e270bf36ccf53cb04d6b496d2'
'4c493a3e0f3486be8ad1b6c67c9c6917'
'95eb4457f95f3f8dd153983612ee65c0'
diff --git a/config b/config
index 68791d9112c9..71fbfc6978b6 100644
--- a/config
+++ b/config
@@ -129,8 +129,9 @@ CONFIG_BPF_UNPRIV_DEFAULT_OFF=y
# CONFIG_BPF_LSM is not set
# end of BPF subsystem
-# CONFIG_PREEMPT_NONE is not set
-# CONFIG_PREEMPT_VOLUNTARY is not set
+# CONFIG_PREEMPT_NONE_BEHAVIOUR is not set
+# CONFIG_PREEMPT_VOLUNTARY_BEHAVIOUR is not set
+CONFIG_PREEMPT_BEHAVIOUR=y
CONFIG_PREEMPT=y
CONFIG_PREEMPT_COUNT=y
CONFIG_PREEMPTION=y
@@ -445,7 +446,7 @@ CONFIG_DMI=y
CONFIG_NR_CPUS_RANGE_BEGIN=2
CONFIG_NR_CPUS_RANGE_END=512
CONFIG_NR_CPUS_DEFAULT=64
-CONFIG_NR_CPUS=128
+CONFIG_NR_CPUS=64
CONFIG_SCHED_SMT=y
CONFIG_SCHED_MC=y
CONFIG_SCHED_MC_PRIO=y