summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorP.Jung2021-09-03 20:04:34 +0000
committerP.Jung2021-09-03 20:04:34 +0000
commit5b1874d15211de1aeb4daef97e9e42bf501cbc42 (patch)
treeb03edac9cbbd7420c152a6340874ce8f96def41a
parente45e840e2fbc47598462ed421be346b59704bdb3 (diff)
downloadaur-5b1874d15211de1aeb4daef97e9e42bf501cbc42.tar.gz
fix and some additions
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD31
-rw-r--r--config8
3 files changed, 34 insertions, 19 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5e5572095eb3..cdad92acff42 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.1
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/hamadmarri/cacule-cpu-scheduler
arch = x86_64
arch = x86_64_v3
@@ -24,12 +24,13 @@ pkgbase = linux-cacule-rdb-llvm
options = !strip
source = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.14.1.tar.xz
source = config
- source = https://raw.githubusercontent.com/ptr1337/linux-cacule-aur/master/patches/5.14/arch-patches/0001-arch-patches.patch
+ source = https://raw.githubusercontent.com/ptr1337/linux-cacule-aur/master/patches/5.14/arch-patches/0001-ZEN-Add-sysctl-and-CONFIG-to-disallow-unprivileged-C.patch
source = https://raw.githubusercontent.com/ptr1337/linux-cacule-aur/master/patches/CacULE/v5.14/cacule-5.14-full.patch
source = https://raw.githubusercontent.com/ptr1337/linux-cacule-aur/master/patches/5.14/misc/0004-folio-mm.patch
source = https://raw.githubusercontent.com/ptr1337/linux-cacule-aur/master/patches/5.14/misc/0009-compiler-remove-stale-cc-option-checks.patch
source = https://raw.githubusercontent.com/ptr1337/linux-cacule-aur/master/patches/5.14/misc/0007-string.patch
source = https://raw.githubusercontent.com/ptr1337/linux-cacule-aur/master/patches/5.14/misc/allpollingrate.patch
+ source = https://raw.githubusercontent.com/ptr1337/linux-cacule-aur/master/patches/5.14/misc/0001-LL-kconfig-add-750Hz-timer-interrupt-kernel-config-o.patch
source = https://raw.githubusercontent.com/ptr1337/linux-cacule-aur/master/patches/5.14/bfq-patches/0001-bfq-patches.patch
source = https://raw.githubusercontent.com/ptr1337/linux-cacule-aur/master/patches/5.14/android-patches/0001-android-export-symbold-and-enable-building-ashmem-an.patch
source = https://raw.githubusercontent.com/ptr1337/linux-cacule-aur/master/patches/5.14/bbr2-patches/0001-bbr2-5.14-introduce-BBRv2.patch
@@ -42,7 +43,7 @@ pkgbase = linux-cacule-rdb-llvm
source = https://raw.githubusercontent.com/ptr1337/linux-cacule-aur/master/patches/5.14/pf-patches-v3/0001-pf-patches.patch
source = https://raw.githubusercontent.com/ptr1337/linux-cacule-aur/master/patches/5.14/xanmod-patches/0001-xanmod-patches.patch
source = https://raw.githubusercontent.com/ptr1337/linux-cacule-aur/master/patches/5.14/zen-patches/0001-zen-patches.patch
- source = https://raw.githubusercontent.com/ptr1337/linux-cacule-aur/master/patches/5.14/zstd-patches/0001-zstd-patches.patch
+ source = https://raw.githubusercontent.com/ptr1337/linux-cacule-aur/master/patches/5.14/zstd-patches-v2/0001-zstd-patches.patch
source = https://raw.githubusercontent.com/ptr1337/linux-cacule-aur/master/patches/5.14/zstd-upstream-patches/0001-zstd-upstream-patches.patch
source = https://raw.githubusercontent.com/ptr1337/linux-cacule-aur/master/patches/5.14/ntfs3-patches-v4/0001-ntfs3-patches.patch
source = https://raw.githubusercontent.com/ptr1337/linux-cacule-aur/master/patches/5.14/0001-cpu-patches.patch
@@ -51,13 +52,14 @@ pkgbase = linux-cacule-rdb-llvm
source = https://raw.githubusercontent.com/ptr1337/linux-cacule-aur/master/patches/5.14/0001-ksm.patch
source = auto-cpu-optimization.sh
md5sums = be936a500fab39069e50b0bcfcc0c369
- md5sums = 3c32eda2f7bd4743d6b29e0f82a33445
- md5sums = b961add2e3ea53ade755148169c00e6e
+ md5sums = 6fa10abe24db00d79c7a46020f68f1e7
+ md5sums = cf26387aadf2a90428350ac246b070c9
md5sums = 024a0126cfcd18e000a2241f35c4d69e
md5sums = a804260e2f301ffe2a17d6e3625a9711
md5sums = 50868332310ae198428861fb7e743d5e
md5sums = d6e5581b4fade267a28deb8e73d236f5
md5sums = f154315498da9bf593c11d88041bde48
+ md5sums = f8e172e9ea554bbb1053eb122c3ace35
md5sums = a0285c065b902ca625119e4ad43cbab4
md5sums = e45c7962a78d6e82a0d3808868cd6ac0
md5sums = 196d6ac961497aa880264b83160eb140
@@ -70,7 +72,7 @@ pkgbase = linux-cacule-rdb-llvm
md5sums = 30a7be161ab863c46e5ad55796d06a29
md5sums = 28864f14bf33bad92e57bc48bc5c2c78
md5sums = 381bc4f0ff885e9b67e5899476a30416
- md5sums = fe00e09708cbbeb15e348e36ab881696
+ md5sums = 808981a36c81165953017e5e432c1fa1
md5sums = 0553f660f2399549ed17b6d2ca4e930e
md5sums = bb5234c6cd12276dbc4d231cc038f8f7
md5sums = bb22330e270bf36ccf53cb04d6b496d2
diff --git a/PKGBUILD b/PKGBUILD
index 2ef28f49448e..daa57d60fbd2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -20,9 +20,10 @@ _winesync=y
### Set performance governor as default
_per_gov=y
-### Running with a 2000 HZ, 1000HZ or 500HZ tick rate
+### Running with a 2000 HZ, 1000HZ, 750Hz or 500HZ tick rate
_2k_HZ_ticks=
-_1k_HZ_ticks=y
+_1k_HZ_ticks=
+_750_HZ_ticks=y
_500_HZ_ticks=
### Enable protect file mappings under memory pressure
@@ -75,7 +76,7 @@ pkgbase=linux-cacule-rdb-llvm
pkgname=('linux-cacule-rdb-llvm' 'linux-cacule-rdb-llvm-headers')
pkgname=("${pkgbase}" "${pkgbase}-headers")
pkgver=5.14.1
-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##*.}
@@ -89,12 +90,13 @@ _caculepatches="https://raw.githubusercontent.com/ptr1337/linux-cacule-aur/maste
_patchsource="https://raw.githubusercontent.com/ptr1337/linux-cacule-aur/master/patches/5.14"
source=("https://cdn.kernel.org/pub/linux/kernel/v${pkgver:0:1}.x/linux-${pkgver}.tar.xz"
"config"
- "${_patchsource}/arch-patches/0001-arch-patches.patch"
+ "${_patchsource}/arch-patches/0001-ZEN-Add-sysctl-and-CONFIG-to-disallow-unprivileged-C.patch"
"${_caculepatches}/v5.14/cacule-5.14-full.patch"
"${_patchsource}/misc/0004-folio-mm.patch"
"${_patchsource}/misc/0009-compiler-remove-stale-cc-option-checks.patch"
"${_patchsource}/misc/0007-string.patch"
"${_patchsource}/misc/allpollingrate.patch"
+ "${_patchsource}/misc/0001-LL-kconfig-add-750Hz-timer-interrupt-kernel-config-o.patch"
"${_patchsource}/bfq-patches/0001-bfq-patches.patch"
"${_patchsource}/android-patches/0001-android-export-symbold-and-enable-building-ashmem-an.patch"
"${_patchsource}/bbr2-patches/0001-bbr2-5.14-introduce-BBRv2.patch"
@@ -108,7 +110,7 @@ source=("https://cdn.kernel.org/pub/linux/kernel/v${pkgver:0:1}.x/linux-${pkgver
"${_patchsource}/pf-patches-v3/0001-pf-patches.patch"
"${_patchsource}/xanmod-patches/0001-xanmod-patches.patch"
"${_patchsource}/zen-patches/0001-zen-patches.patch"
- "${_patchsource}/zstd-patches/0001-zstd-patches.patch"
+ "${_patchsource}/zstd-patches-v2/0001-zstd-patches.patch"
"${_patchsource}/zstd-upstream-patches/0001-zstd-upstream-patches.patch"
"${_patchsource}/ntfs3-patches-v4/0001-ntfs3-patches.patch"
"${_patchsource}/0001-cpu-patches.patch"
@@ -117,11 +119,10 @@ source=("https://cdn.kernel.org/pub/linux/kernel/v${pkgver:0:1}.x/linux-${pkgver
"${_patchsource}/0001-ksm.patch"
"auto-cpu-optimization.sh"
)
+
BUILD_FLAGS=(
LLVM=1
LLVM_IAS=1
-# CONFIG_DEBUG_FS=y
-# CONFIG_PGO_CLANG=y
)
export KBUILD_BUILD_HOST=archlinux
@@ -177,6 +178,15 @@ prepare() {
scripts/config --set-val CONFIG_HZ 1000
fi
+ ### Optionally set tickrate to 500HZ
+ if [ -n "$_750_HZ_ticks" ]; then
+ echo "Setting tick rate to 500HZ..."
+ 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..."
@@ -516,13 +526,14 @@ package_linux-cacule-rdb-llvm-headers() {
}
md5sums=('be936a500fab39069e50b0bcfcc0c369'
- '3c32eda2f7bd4743d6b29e0f82a33445'
- 'b961add2e3ea53ade755148169c00e6e'
+ '6fa10abe24db00d79c7a46020f68f1e7'
+ 'cf26387aadf2a90428350ac246b070c9'
'024a0126cfcd18e000a2241f35c4d69e'
'a804260e2f301ffe2a17d6e3625a9711'
'50868332310ae198428861fb7e743d5e'
'd6e5581b4fade267a28deb8e73d236f5'
'f154315498da9bf593c11d88041bde48'
+ 'f8e172e9ea554bbb1053eb122c3ace35'
'a0285c065b902ca625119e4ad43cbab4'
'e45c7962a78d6e82a0d3808868cd6ac0'
'196d6ac961497aa880264b83160eb140'
@@ -535,7 +546,7 @@ md5sums=('be936a500fab39069e50b0bcfcc0c369'
'30a7be161ab863c46e5ad55796d06a29'
'28864f14bf33bad92e57bc48bc5c2c78'
'381bc4f0ff885e9b67e5899476a30416'
- 'fe00e09708cbbeb15e348e36ab881696'
+ '808981a36c81165953017e5e432c1fa1'
'0553f660f2399549ed17b6d2ca4e930e'
'bb5234c6cd12276dbc4d231cc038f8f7'
'bb22330e270bf36ccf53cb04d6b496d2'
diff --git a/config b/config
index 36adf5f03cee..49dbfea13b2c 100644
--- a/config
+++ b/config
@@ -515,9 +515,11 @@ CONFIG_EFI_STUB=y
CONFIG_EFI_MIXED=y
# CONFIG_HZ_100 is not set
# CONFIG_HZ_250 is not set
-# CONFIG_HZ_300 is not set
-CONFIG_HZ_1000=y
-CONFIG_HZ=1000
+CONFIG_HZ_300=y
+# CONFIG_HZ_750 is not set
+# COCONFIG_HZ_1000 is not set
+# CNFIG_HZ_2000 is not set
+CONFIG_HZ=300
CONFIG_SCHED_HRTICK=y
CONFIG_KEXEC=y
CONFIG_KEXEC_FILE=y