summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. Jung2021-10-15 20:10:19 +0000
committerP. Jung2021-10-15 20:10:19 +0000
commitfe37441a98df103cc696de5fdd1a0798c8f86753 (patch)
treea7b51c19d36bfa9477a2e943a9ea8b12a66b318c
parentadc7fa73938b6d3c790d895addf8b186f428cb55 (diff)
downloadaur-fe37441a98df103cc696de5fdd1a0798c8f86753.tar.gz
new patches, options and defaults
-rw-r--r--.SRCINFO30
-rw-r--r--PKGBUILD91
-rw-r--r--config5
3 files changed, 70 insertions, 56 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 828ef36bb01d..4f97955c1b74 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -24,11 +24,12 @@ pkgbase = linux-cacule
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/arch-patches-v10/0001-arch-patches.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/0001-CK-TIMER.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/misc/0008-remove-LightNVM.patch
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/arch-patches-v10/0001-arch-patches.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/0001-CK-TIMER.patch
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/0001-preempt-hz-cfs.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/misc/amd/0006-amd-cppc.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/misc/zen-tweaks-cacule.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/ll-patches/0001-LL-kconfig-add-750Hz-timer-interrupt-kernel-config-o.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/ll-patches/0003-sched-core-nr_migrate-256-increases-number-of-tasks-.patch
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/misc/0008-remove-LightNVM.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/ll-patches/0004-mm-set-8-megabytes-for-address_space-level-file-read.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/android-patches/0001-android-export-symbold-and-enable-building-ashmem-an.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/bbr2-patches/0001-bbr2-5.14-introduce-BBRv2.patch
@@ -37,8 +38,8 @@ pkgbase = linux-cacule
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/fixes-miscellaneous-v6/0001-fixes-miscellaneous.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/futex-xanmod-patches-v2/0001-futex-resync-from-gitlab.collabora.com.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/futex2-xanmod-patches-v2/0001-futex2-resync-from-gitlab.collabora.com.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/ksmbd-patches-v17/0001-ksmbd-patches.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/hwmon-patches/0001-hwmon-patches.patch
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/ksmbd-patches-v18/0001-ksmbd-patches.patch
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/hwmon-patches-v5/0001-hwmon-patches.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-v2/0001-lrng-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/lru-patches-v4/0001-lru-patches.patch
@@ -55,15 +56,16 @@ pkgbase = linux-cacule
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/0001-v4l2loopback.patch
source = auto-cpu-optimization.sh
md5sums = a52286fe206a3f7664ca5a6c5995b9ed
- md5sums = e2d5c8ee1654b4076fcf9f4b0d7ffa10
+ md5sums = 8323695696b586914cfbcc332776ee1a
md5sums = 581faf85cd625c41bbdd0cadbd0e451e
md5sums = 024a0126cfcd18e000a2241f35c4d69e
md5sums = 04c5865e765e07cff0649824c2a8d810
- md5sums = eb39a5681a153f5a1f5a67e8b9e957a5
+ md5sums = 581faf85cd625c41bbdd0cadbd0e451e
+ md5sums = 024a0126cfcd18e000a2241f35c4d69e
+ md5sums = 04c5865e765e07cff0649824c2a8d810
+ md5sums = f88c3290ece724c81921059df14965cf
md5sums = 430972ae1e936f99d8dc2a1f4fdaf774
- md5sums = 9d7612159f8745044254077ce8a76df6
- md5sums = f8e172e9ea554bbb1053eb122c3ace35
- md5sums = af7328eb8c72c754e5bc8c7be1ca2f1c
+ md5sums = eb39a5681a153f5a1f5a67e8b9e957a5
md5sums = f0d84fc024b9933bc19db696e0393a4e
md5sums = e45c7962a78d6e82a0d3808868cd6ac0
md5sums = 196d6ac961497aa880264b83160eb140
@@ -72,8 +74,8 @@ pkgbase = linux-cacule
md5sums = f364618bad6154856085c7025d388d3b
md5sums = fd934f7d11131d5a5043e4aea640583b
md5sums = 8a96c5e8346bd5b430776ac8a41f96b0
- md5sums = f71331c247285499ca42b63d707831a6
- md5sums = bad682a72d2549f409caea361fb0456f
+ md5sums = 1b82eb13c4d3eaa368340b5a4f514ed1
+ md5sums = 5c9334532387ae8df80cff9bb5890954
md5sums = 6787c78ba3e7b0a34fbba9c50da7e3b4
md5sums = 366c90b64f9582c0733b8fb607a07594
md5sums = 8adcaccbb5c0ebd4bc81144e16b92627
@@ -82,7 +84,7 @@ pkgbase = linux-cacule
md5sums = cfef1423ad1e6aecad63f0d5eacaea37
md5sums = 808981a36c81165953017e5e432c1fa1
md5sums = f6a1c51adfc68fb7b52dc5715a9cb5a7
- md5sums = 6bce25efd0395a4d0a9e0fc52e0d93e4
+ md5sums = f818b58bb2c6a30cd6fe88a8bd434b90
md5sums = 0636779d32ba47bda25d3edb5fbd08c9
md5sums = 566435a0444ee45816599f2e0e362c7a
md5sums = bb22330e270bf36ccf53cb04d6b496d2
diff --git a/PKGBUILD b/PKGBUILD
index 456c830366da..619594b4d975 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -25,7 +25,8 @@ _winesync=y
### Running with a 2000 HZ, 1000HZ, 750Hz or 500HZ tick rate
_2k_HZ_ticks=
_1k_HZ_ticks=
-_750_HZ_ticks=y
+_750_HZ_ticks=
+_600_HZ_ticks=y
_500_HZ_ticks=
### Disable MQ-Deadline I/O scheduler
@@ -144,36 +145,38 @@ source=("https://cdn.kernel.org/pub/linux/kernel/v${pkgver:0:1}.x/linux-${pkgver
"${_patchsource}/arch-patches-v10/0001-arch-patches.patch"
"${_caculepatches}/v5.14/cacule-5.14-full.patch"
"${_patchsource}/0001-CK-TIMER.patch"
- "${_patchsource}/misc/0008-remove-LightNVM.patch"
- "${_patchsource}/misc/amd/0006-amd-cppc.patch"
- "${_patchsource}/misc/zen-tweaks-cacule.patch"
- "${_patchsource}/ll-patches/0001-LL-kconfig-add-750Hz-timer-interrupt-kernel-config-o.patch"
- "${_patchsource}/ll-patches/0003-sched-core-nr_migrate-256-increases-number-of-tasks-.patch"
- "${_patchsource}/ll-patches/0004-mm-set-8-megabytes-for-address_space-level-file-read.patch"
- "${_patchsource}/android-patches/0001-android-export-symbold-and-enable-building-ashmem-an.patch"
- "${_patchsource}/bbr2-patches/0001-bbr2-5.14-introduce-BBRv2.patch"
- "${_patchsource}/block-patches/0001-block-patches.patch"
- "${_patchsource}/btrfs-patches-v7/0001-btrfs-patches.patch"
- "${_patchsource}/fixes-miscellaneous-v6/0001-fixes-miscellaneous.patch"
- "${_patchsource}/futex-xanmod-patches-v2/0001-futex-resync-from-gitlab.collabora.com.patch"
- "${_patchsource}/futex2-xanmod-patches-v2/0001-futex2-resync-from-gitlab.collabora.com.patch"
- "${_patchsource}/ksmbd-patches-v17/0001-ksmbd-patches.patch"
- "${_patchsource}/hwmon-patches/0001-hwmon-patches.patch"
- "${_patchsource}/lqx-patches/0001-lqx-patches.patch"
- "${_patchsource}/lrng-patches-v2/0001-lrng-patches.patch"
- "${_patchsource}/lru-patches-v4/0001-lru-patches.patch"
- "${_patchsource}/pf-patches-v9/0001-pf-patches.patch"
- "${_patchsource}/xanmod-patches-v2/0001-xanmod-patches.patch"
- "${_patchsource}/zen-patches-v3/0001-zen-patches.patch"
- "${_patchsource}/zstd-patches-v2/0001-zstd-patches.patch"
- "${_patchsource}/security-patches/0001-security-patches.patch"
- "${_patchsource}/zstd-upstream-patches-v6/0001-zstd-upstream-patches.patch"
- "${_patchsource}/ntfs3-patches-v14/0001-ntfs3-patches.patch"
- "${_patchsource}/0001-ksm.patch"
- "${_patchsource}/0001-cpu-patches.patch"
- "${_patchsource}/0001-winesync.patch"
- "${_patchsource}/0001-v4l2loopback.patch"
- "auto-cpu-optimization.sh"
+ # "${_patchsource}/arch-patches/0001-ZEN-Add-sysctl-and-CONFIG-to-disallow-unprivileged-C.patch"
+ "${_patchsource}/arch-patches-v10/0001-arch-patches.patch"
+ "${_caculepatches}/v5.14/cacule-5.14-full.patch"
+ "${_patchsource}/0001-CK-TIMER.patch"
+ "${_patchsource}/0001-preempt-hz-cfs.patch"
+ "${_patchsource}/misc/amd/0006-amd-cppc.patch"
+ "${_patchsource}/misc/0008-remove-LightNVM.patch"
+ "${_patchsource}/ll-patches/0004-mm-set-8-megabytes-for-address_space-level-file-read.patch"
+ "${_patchsource}/android-patches/0001-android-export-symbold-and-enable-building-ashmem-an.patch"
+ "${_patchsource}/bbr2-patches/0001-bbr2-5.14-introduce-BBRv2.patch"
+ "${_patchsource}/block-patches/0001-block-patches.patch"
+ "${_patchsource}/btrfs-patches-v7/0001-btrfs-patches.patch"
+ "${_patchsource}/fixes-miscellaneous-v6/0001-fixes-miscellaneous.patch"
+ "${_patchsource}/futex-xanmod-patches-v2/0001-futex-resync-from-gitlab.collabora.com.patch"
+ "${_patchsource}/futex2-xanmod-patches-v2/0001-futex2-resync-from-gitlab.collabora.com.patch"
+ "${_patchsource}/ksmbd-patches-v18/0001-ksmbd-patches.patch"
+ "${_patchsource}/hwmon-patches-v5/0001-hwmon-patches.patch"
+ "${_patchsource}/lqx-patches/0001-lqx-patches.patch"
+ "${_patchsource}/lrng-patches-v2/0001-lrng-patches.patch"
+ "${_patchsource}/lru-patches-v4/0001-lru-patches.patch"
+ "${_patchsource}/pf-patches-v9/0001-pf-patches.patch"
+ "${_patchsource}/xanmod-patches-v2/0001-xanmod-patches.patch"
+ "${_patchsource}/zen-patches-v3/0001-zen-patches.patch"
+ "${_patchsource}/zstd-patches-v2/0001-zstd-patches.patch"
+ "${_patchsource}/security-patches/0001-security-patches.patch"
+ "${_patchsource}/zstd-upstream-patches-v6/0001-zstd-upstream-patches.patch"
+ "${_patchsource}/ntfs3-patches-v14/0001-ntfs3-patches.patch"
+ "${_patchsource}/0001-ksm.patch"
+ "${_patchsource}/0001-cpu-patches.patch"
+ "${_patchsource}/0001-winesync.patch"
+ "${_patchsource}/0001-v4l2loopback.patch"
+ "auto-cpu-optimization.sh"
)
if [ -n "$_use_cfi" ]; then
source+=("${_patchsource}/0002-clang-cfi.patch")
@@ -263,7 +266,14 @@ prepare() {
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..."
@@ -635,15 +645,16 @@ _package-headers() {
}
md5sums=('a52286fe206a3f7664ca5a6c5995b9ed'
- 'e2d5c8ee1654b4076fcf9f4b0d7ffa10'
+ '8323695696b586914cfbcc332776ee1a'
'581faf85cd625c41bbdd0cadbd0e451e'
'024a0126cfcd18e000a2241f35c4d69e'
'04c5865e765e07cff0649824c2a8d810'
- 'eb39a5681a153f5a1f5a67e8b9e957a5'
+ '581faf85cd625c41bbdd0cadbd0e451e'
+ '024a0126cfcd18e000a2241f35c4d69e'
+ '04c5865e765e07cff0649824c2a8d810'
+ 'f88c3290ece724c81921059df14965cf'
'430972ae1e936f99d8dc2a1f4fdaf774'
- '9d7612159f8745044254077ce8a76df6'
- 'f8e172e9ea554bbb1053eb122c3ace35'
- 'af7328eb8c72c754e5bc8c7be1ca2f1c'
+ 'eb39a5681a153f5a1f5a67e8b9e957a5'
'f0d84fc024b9933bc19db696e0393a4e'
'e45c7962a78d6e82a0d3808868cd6ac0'
'196d6ac961497aa880264b83160eb140'
@@ -652,8 +663,8 @@ md5sums=('a52286fe206a3f7664ca5a6c5995b9ed'
'f364618bad6154856085c7025d388d3b'
'fd934f7d11131d5a5043e4aea640583b'
'8a96c5e8346bd5b430776ac8a41f96b0'
- 'f71331c247285499ca42b63d707831a6'
- 'bad682a72d2549f409caea361fb0456f'
+ '1b82eb13c4d3eaa368340b5a4f514ed1'
+ '5c9334532387ae8df80cff9bb5890954'
'6787c78ba3e7b0a34fbba9c50da7e3b4'
'366c90b64f9582c0733b8fb607a07594'
'8adcaccbb5c0ebd4bc81144e16b92627'
@@ -662,7 +673,7 @@ md5sums=('a52286fe206a3f7664ca5a6c5995b9ed'
'cfef1423ad1e6aecad63f0d5eacaea37'
'808981a36c81165953017e5e432c1fa1'
'f6a1c51adfc68fb7b52dc5715a9cb5a7'
- '6bce25efd0395a4d0a9e0fc52e0d93e4'
+ 'f818b58bb2c6a30cd6fe88a8bd434b90'
'0636779d32ba47bda25d3edb5fbd08c9'
'566435a0444ee45816599f2e0e362c7a'
'bb22330e270bf36ccf53cb04d6b496d2'
diff --git a/config b/config
index bd4bb80b672b..b0068712ef86 100644
--- a/config
+++ b/config
@@ -130,8 +130,9 @@ CONFIG_BPF_JIT_DEFAULT_ON=y
# CONFIG_BPF_LSM is not set
# end of BPF subsystem
-# CONFIG_PREEMPT_NONE is not set
-CONFIG_PREEMPT_VOLUNTARY=y
+# 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