diff options
author | P.Jung | 2021-09-03 20:02:57 +0000 |
---|---|---|
committer | P.Jung | 2021-09-03 20:02:57 +0000 |
commit | 253ff4c09b4cefe7150f8162fb3484ecaed6b303 (patch) | |
tree | d39b656b786aadf01dbb04bd565bb4f31b14ecbf | |
parent | f63e420acb07fb8d71950f61e9963ba2c69db9fb (diff) | |
download | aur-253ff4c09b4cefe7150f8162fb3484ecaed6b303.tar.gz |
fix and some additions
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 31 | ||||
-rw-r--r-- | config | 8 |
3 files changed, 36 insertions, 21 deletions
@@ -1,7 +1,7 @@ pkgbase = linux-cacule pkgdesc = Linux-CacULE Kernel by Hamad Marri and with some other patchsets pkgver = 5.14.1 - pkgrel = 1 + pkgrel = 2 url = https://github.com/hamadmarri/cacule-cpu-scheduler arch = x86_64 arch = x86_64_v3 @@ -21,12 +21,13 @@ pkgbase = linux-cacule 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/CacULE/v5.14/cacule-5.14.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 @@ -39,7 +40,7 @@ pkgbase = linux-cacule 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 @@ -48,13 +49,14 @@ pkgbase = linux-cacule source = https://raw.githubusercontent.com/ptr1337/linux-cacule-aur/master/patches/5.14/0001-ksm.patch source = auto-cpu-optimization.sh md5sums = be936a500fab39069e50b0bcfcc0c369 - md5sums = d55c09255b6ffb64babe3757e8723168 - md5sums = b961add2e3ea53ade755148169c00e6e - md5sums = 40a9380b2884f5d417791f06389ba57e + md5sums = e83ba8542661e0f4d70d96f3e91ee911 + md5sums = cf26387aadf2a90428350ac246b070c9 + md5sums = 024a0126cfcd18e000a2241f35c4d69e md5sums = a804260e2f301ffe2a17d6e3625a9711 md5sums = 50868332310ae198428861fb7e743d5e md5sums = d6e5581b4fade267a28deb8e73d236f5 md5sums = f154315498da9bf593c11d88041bde48 + md5sums = f8e172e9ea554bbb1053eb122c3ace35 md5sums = a0285c065b902ca625119e4ad43cbab4 md5sums = e45c7962a78d6e82a0d3808868cd6ac0 md5sums = 196d6ac961497aa880264b83160eb140 @@ -67,7 +69,7 @@ pkgbase = linux-cacule md5sums = 30a7be161ab863c46e5ad55796d06a29 md5sums = 28864f14bf33bad92e57bc48bc5c2c78 md5sums = 381bc4f0ff885e9b67e5899476a30416 - md5sums = fe00e09708cbbeb15e348e36ab881696 + md5sums = 808981a36c81165953017e5e432c1fa1 md5sums = 0553f660f2399549ed17b6d2ca4e930e md5sums = bb5234c6cd12276dbc4d231cc038f8f7 md5sums = bb22330e270bf36ccf53cb04d6b496d2 @@ -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= ### Disable MQ-Deadline I/O scheduler @@ -74,7 +75,7 @@ pkgbase=linux-cacule pkgname=('linux-cacule' 'linux-cacule-headers') pkgname=("${pkgbase}" "${pkgbase}-headers") pkgver=5.14.1 -pkgrel=1 +pkgrel=2 arch=(x86_64 x86_64_v3) pkgdesc='Linux-CacULE Kernel by Hamad Marri and with some other patchsets' _gittag=v${pkgver%.*}-${pkgver##*.} @@ -88,12 +89,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" - "${_caculepatches}/v5.14/cacule-5.14.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" @@ -107,7 +109,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" @@ -172,6 +174,14 @@ 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..." @@ -511,13 +521,14 @@ package_linux-cacule-headers() { } md5sums=('be936a500fab39069e50b0bcfcc0c369' - 'd55c09255b6ffb64babe3757e8723168' - 'b961add2e3ea53ade755148169c00e6e' - '40a9380b2884f5d417791f06389ba57e' + 'e83ba8542661e0f4d70d96f3e91ee911' + 'cf26387aadf2a90428350ac246b070c9' + '024a0126cfcd18e000a2241f35c4d69e' 'a804260e2f301ffe2a17d6e3625a9711' '50868332310ae198428861fb7e743d5e' 'd6e5581b4fade267a28deb8e73d236f5' 'f154315498da9bf593c11d88041bde48' + 'f8e172e9ea554bbb1053eb122c3ace35' 'a0285c065b902ca625119e4ad43cbab4' 'e45c7962a78d6e82a0d3808868cd6ac0' '196d6ac961497aa880264b83160eb140' @@ -530,7 +541,7 @@ md5sums=('be936a500fab39069e50b0bcfcc0c369' '30a7be161ab863c46e5ad55796d06a29' '28864f14bf33bad92e57bc48bc5c2c78' '381bc4f0ff885e9b67e5899476a30416' - 'fe00e09708cbbeb15e348e36ab881696' + '808981a36c81165953017e5e432c1fa1' '0553f660f2399549ed17b6d2ca4e930e' 'bb5234c6cd12276dbc4d231cc038f8f7' 'bb22330e270bf36ccf53cb04d6b496d2' @@ -514,9 +514,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 |