This commit is contained in:
P. Jung 2021-10-17 10:08:56 +00:00
parent d16b39bb04
commit 3a3a7c5b33
No known key found for this signature in database
GPG Key ID: AFC052D06215E148
2 changed files with 334 additions and 327 deletions

View File

@ -1,7 +1,7 @@
pkgbase = linux-cachyos pkgbase = linux-cachyos
pkgdesc = Linux cfs scheduler Kernel by CachyOS and with some other patches and other improvements pkgdesc = Linux cfs scheduler Kernel by CachyOS and with some other patches and other improvements
pkgver = 5.14.12 pkgver = 5.14.13
pkgrel = 2 pkgrel = 1
url = https://github.com/CachyOS/linux-cachyos url = https://github.com/CachyOS/linux-cachyos
arch = x86_64 arch = x86_64
arch = x86_64_v3 arch = x86_64_v3
@ -19,7 +19,7 @@ pkgbase = linux-cachyos
makedepends = tar makedepends = tar
makedepends = xz makedepends = xz
options = !strip options = !strip
source = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.14.12.tar.xz source = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.14.13.tar.xz
source = config source = config
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-CK-TIMER.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/5.14/arch-patches-v10/0001-arch-patches.patch
@ -51,7 +51,7 @@ pkgbase = linux-cachyos
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-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-v4l2loopback.patch
source = auto-cpu-optimization.sh source = auto-cpu-optimization.sh
md5sums = a52286fe206a3f7664ca5a6c5995b9ed md5sums = dd8c7efa62d69eb9a50806f2b0d6da01
md5sums = 6918c6961e213ae5ee0c9d374bb9a06b md5sums = 6918c6961e213ae5ee0c9d374bb9a06b
md5sums = 04c5865e765e07cff0649824c2a8d810 md5sums = 04c5865e765e07cff0649824c2a8d810
md5sums = 581faf85cd625c41bbdd0cadbd0e451e md5sums = 581faf85cd625c41bbdd0cadbd0e451e

View File

@ -112,8 +112,8 @@ pkgbase=linux-cachyos-lto
else else
pkgbase=linux-cachyos pkgbase=linux-cachyos
fi fi
pkgver=5.14.12 pkgver=5.14.13
pkgrel=2 pkgrel=1
arch=(x86_64 x86_64_v3) arch=(x86_64 x86_64_v3)
pkgdesc='Linux cfs scheduler Kernel by CachyOS and with some other patches and other improvements' pkgdesc='Linux cfs scheduler Kernel by CachyOS and with some other patches and other improvements'
_gittag=v${pkgver%.*}-${pkgver##*.} _gittag=v${pkgver%.*}-${pkgver##*.}
@ -129,7 +129,6 @@ fi
_patchsource="https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14" _patchsource="https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14"
source=("https://cdn.kernel.org/pub/linux/kernel/v${pkgver:0:1}.x/linux-${pkgver}.tar.xz" source=("https://cdn.kernel.org/pub/linux/kernel/v${pkgver:0:1}.x/linux-${pkgver}.tar.xz"
"config" "config"
# "${_patchsource}/arch-patches/0001-ZEN-Add-sysctl-and-CONFIG-to-disallow-unprivileged-C.patch"
"${_patchsource}/0001-CK-TIMER.patch" "${_patchsource}/0001-CK-TIMER.patch"
"${_patchsource}/arch-patches-v10/0001-arch-patches.patch" "${_patchsource}/arch-patches-v10/0001-arch-patches.patch"
"${_patchsource}/0001-preempt-hz-cfs.patch" "${_patchsource}/0001-preempt-hz-cfs.patch"
@ -250,6 +249,14 @@ prepare() {
scripts/config --set-val CONFIG_HZ 750 scripts/config --set-val CONFIG_HZ 750
fi fi
### Optionally set tickrate to 750HZ
if [ -n "$_750_HZ_ticks" ]; then
echo "Setting tick rate to 750HZ..."
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 ### Optionally set tickrate to 500HZ
if [ -n "$_500_HZ_ticks" ]; then if [ -n "$_500_HZ_ticks" ]; then
echo "Setting tick rate to 500HZ..." echo "Setting tick rate to 500HZ..."
@ -604,7 +611,7 @@ _package-headers() {
} }
md5sums=('a52286fe206a3f7664ca5a6c5995b9ed' md5sums=('dd8c7efa62d69eb9a50806f2b0d6da01'
'6918c6961e213ae5ee0c9d374bb9a06b' '6918c6961e213ae5ee0c9d374bb9a06b'
'04c5865e765e07cff0649824c2a8d810' '04c5865e765e07cff0649824c2a8d810'
'581faf85cd625c41bbdd0cadbd0e451e' '581faf85cd625c41bbdd0cadbd0e451e'